The Code-Bin
Simple PHP Login
Posted by: Stephen | March 6, 2009 @ 11:06am
Revision 10 - Original post on March 6, 2009 @ 10:23am

PHP Code



Syntax Highlighting





Author Comments
This is a simple login verification system built on PHP.
Note that there are four files in this post.

Instructions

Place login.php, config.php, and
verify.php all in the same folder on your server,
preferably in the root web folder.

Use restricted.php as a template for any pages
restricted to logged-in users. Make sure to change the paths in
this script if this page winds up in another folder on your server or
if you placed the 3 other files somewhere other than the root web
folder.

Enjoy!
Rating


4.53 / 8
244 Votes