PDA

View Full Version : How to create a registration page?



apoorvasheth
10-01-2005, 09:41 AM
Hello! My name is Apoorva.

I was always looking to create a registration page and a login page so whichever users visiting my website can create an account so that I can have some details about the user who is suring on my website.

So, I wanted something like this >>

1. To create a registration form with the following fields :

Username
Password
Email Address
Address
Tel
Occupation
Hobbies

And then their should be 2 buttons at the end of the page -> Submit , Reset

Then when the user clicks on the Submit button, all of these details should be stored in a Database, say for e.g. Microsoft Sql Server


After this, I wanted to create a Login page wherein a user enters his name and password and clicks on the Login button. As soon as he clicks on the Login button, the website should go to the database and match the username and password entered by the user with the data in the database (In other words, validating Username & Password with the database).

If his username and password matches, then he should successfully login into the website.

If his username does not match, then it should display a message, 'No such Username' and if his password does not match, then if should show a message 'Invalid Password' and provide a link to 'Forgot your Password' page.

Next, I want to create a Forgot your Password page wherein the User is asked to enter his username or email address and if it matches, then the password should be sent to his email address which was provided at the time of registration.
and he should be displayed a message that an email containing a password has been sent to his email address (The email address should be displayed where the password is sent)


So that's the above all story that I want to put in action.

Now, what I know is :

I need a database such as Microsoft Sql Server.
I need a web designing software such as Macromedia Dreamweaver MX 2004.
I need a 24hrs internet.
I need a new computer say P4 as a server where the database and my website will reside.

What I don't know is :

From where to start.
What is the method for creating the above work.
What else is required for creating the above work.
The entire code for : Login Page, Registration Form, Forgot your password page.
How to configue the database, connect to the database how to test whether everything is working fine.

So, please can you help me out???

Apoorva.
( apoorvasheth******.com )

ashrafzia
10-13-2005, 05:24 PM
Wowwwwwwwwwwwww!

Learn mysql open source database with open source php scripting language.

All your problems will be solved

For php how to connect with mysql goto its official site given below:

www.php.net

:)

sufian
10-14-2005, 11:21 AM
I suggest using open source CMS, for instance mambo, metadot, droopal, etc. There's alot of open source that u can use and it's for free. Check out fantastico, see what they have there. You will then realise why it is called fantastico in the first place. Don't rush into things yet, go through the options that u have in your cpanel and choose which one best suits the website that u want to create. Good luck.


Sufian.
Singapore.
sufian@akils.com
www.akils.com (http://www.akils.com)