admin login scripts set
This set contains 3 ready-to-use admin login scripts using 3 different authentication methods:
- HTTP Authentication;
All the three provide the same security level and do not require any DB.
Minor differences: in cookie version you can also specify the number of days to keep your cookie alive while in other two versions the session will expire when you close your browser window, and in HTTP Authentication version there is no real logout but just a redirection to the root folder while there is no way to unset server globals from within the script - you will be logged out automatically as soon as you close the browser window to terminate the session.
- Open appropriate login.php in any text editor and specify your username/password.
- Upload login.php and demo.php to a subfolder on your server you want to protect.
- Open demo.php in your browser: http://www.yourdomain.com/admin/demo.php
- If everything works, add to ALL your php scripts in protected subfolder:
- Remove demo.php from your server.
Use the following credentials for testing all the three DEMOS:
Username: admin Password: password
Download the entire set (7kb).