WARNING: DO NOT USE
I wrote this code over 15 years ago and it is, and was, clearly commented that it is NOT SECURE. More importantly, however, it's really just a demo. Don't use it for production code without thoroughly reviewing it. Specifically, it lacks secure session ID's and has not been reviewed for XSS, SQL Injection, CSRF...
WARNING #2: This code is written for php3. Most people reading this have probably never even heard of php3. I just tested it out (2015) for fun and found...