Archive for April 2007

Add authentication to any php page the easy way

This is useful for anyone who’d like to add a login form to any php page. Simply, save the following code as access.php, and insert the following snippet on the first line of any php file you want protected. < ?php include "access.php"; ?> (remove the space before the question mark) Voila! as easy as [...]