by Frost
Introduction
Looking through many tutorials online I come across many outdated user registration and login systems that are being used by users who end up having to update their code just to get the user registration script to work and function properly. Today I decided to write my own version of a very simple User Registration and Login System using PHP and MySQL and sessions. The following script and code has been tested under PHP 5.3 and MySQL 5, but should work for any version of PHP and MySQL. Lets start up the mower and get mowing.

Thanks!
Thanks, very useful for a beginning php scripter,
i’m gonna use it and expand with other fields!
Very useful and straight to the point! Thanks for this.. it got me up and running in the space of 10 minutes
codes send me
it is very useful,thanks a lot!
Nice simple Tutorial. You might want to know however that the link for the zip file points to http://www.slunked.com/blog/wp-content/uploads/2010/01/user-registration-login-tut_slunked.com and this gives a 404 error.
Marc
Thanks for pointing that out. Somehow I missed the .zip part, it should work now.
sir it says
Warning: require(C:/wamp/www/login/includes/config.php) [function.require]: failed to open stream: No such file or directory in C:\wamp\www\WAR\slu\index.php on line 7
Fatal error: require() [function.require]: Failed opening required ‘C:/wamp/www/login/includes/config.php’ (include_path=’.;C:\php5\pear’) in C:\wamp\www\WAR\slu\index.php on line 7