Heya!
So basically, I got a request to create a simple login, register & logout page. So I did, it supports ONE user ONLY since the guy didn't want MySQL. This is a very simple solution, and should only be used for simple stuff, that means that this is no community firstpage.
Features:
*Red box on errors
*Session protection
*Password protect ANY page with 1 line of code.
It's just simple stuff, raw output code only - no graphics.
Password protect a page by using:
Download:Code:require_once('pp.php');
Download link: www.djs-gaming.com/priv/loginshiz.zip
Password for the archive (needed to unpack, open etc): e129j980jdH!Ukof918N#
Have fun, hope someone learns something at least!
EDIT: Yet again, this is very simple. Tried to comment the code, but it should be pretty obvious.