modified login.php file to suit mySQL database:
[code:1:4a1955d90e]
<?
// login.php - performs validation
// authenticate using form variables
$status = authenticate($_POST['f_user'], $_POST['f_pass']);
// if user/pass combination is correct…
You can approach this from two directions, either secure the directory so the users get a popup requesting a username and password, or if you want something a little more flexible with multiple users etc then the following code for a login page shou…
Hi
Check out the articles on Devshed.com, there is a five part series on there about building a site engine CMS, its a little incomplete but it has a lot of good ideas. I am working a version at the moment using PHP 4. Templates are XML based so …