Creating A MySQL and PHP Registration Script


reating A Registration Script--]

This is an easy tutorial on how to create a nice looking User registration script for a user interface.
I normally use this type of stuff for gaming sites e.g. www.thugs-incorporated.info but it
can be used for any site really.

Ok First make sure you have a nice and easy mysql database dump.
For my mysql table i have used a table called `users`. The simple rows in that which i used
were id, username, password, email and remote ip.

Now we need to create the simple db_connect script in a folder named includes. Just use this file and name it db_connect.php

Code
plaintext


Now We just create a new file named register.php and enter this html inside it and edit it to your liking:

Code
plaintext



What we first do is see if they are already logged in:

Code
plaintext


Now this should get your registration script running. If you have any questions, problems or comments please feel free to post them on syxe and
i will definitly reply to them quickly.
ilyas-shezad's Avatar
Views:
2,447
Rating:
Posted on Saturday 18th August 2007 at 10:03 AM
ilyas-shezad
ilyas-shezad's Avatar
wat do u mean?
Posted on Friday 17th August 2007 at 06:24 PM
gbt91
gbt91's Avatar
this is as rmb's