Simple Authorization Script
- Navigation: About SAS | Demo | Download | Installation | Troubleshooting | Feedback
Installation Instructions
- Download Simple Authorization Script.
- Unpack the zip file.
- Open and configure the sas.php file.
- Change the variable $pass to the password you would like to use.
- Optional: Change the variable $cookiename.
- Optional: Change the expiry time ($expirytime). Default is 1 hour.
- Optional: Change the error message ($msg).
- Add the following line to the page you wish to password protect. This line should be included as the first line in php.
require('sas.php');
For a logout button, use the php code:
<?=$logout_button?>
<?=$logout_text?>
- Upload sas.php and your password protected page in the same folder on your server.
Is something not working? Please feel free to contact us or ask a question. Remember to leave details and specifics of your problem, simply stating "It doesn't work" doesn't help me help you solve the problem!
You may also want to read up on troubleshooting which explains a few common warnings and errors people have reported, along with their solutions.
