[ad_1]
To get this product on 50 p.c contact me on this link
Key Features:
- Works with any .php file.
- Custom password and brute power warning pages.
- Well documented capabilities.
- Can simply be built-in right into a database arrange with a number of customers.
- Single line mode, shield any web page by merely together with the file.
- Passwords may be set as both a md5 of sha1 hash or plain textual content should you favor.
- Server aspect brute power safety, with choices to vary the utmost variety of makes an attempt and the block period.
- No database or set up required.
- Email help offered.
- Light weight.
NOTE: The session is used to retailer the username and password so that you dont must login once more when the web page is reloaded. The variables $_SESSION[‘username’] and $_SESSION[‘password’] are utilized by default, if you should use these within the script being protected you’ll be able to set customized names utilizing the custom_session_keys() perform, see documentation for extra info.
Example Useage:
Standard Mode
embody('safe/safety.class.inc.php'); $move = new safe; // Set the username and password, on this case as a sha1 hash $pass->set_credentials('admin', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8'); // set the hash kind $pass->set_hash_type('sha1'); // set some customized session keys $pass->custom_session_keys('identify', 'move'); // allow brute power safety, disabled as default. $pass->brute_force_protect(); // set a customized web page for the person to be despatched to if the password it entered incorrectly. $pass->redirect_on_fail('http://yourdomain.com/denied.html'); // lastly apply safety to the web page. $pass->shield(); echo 'protected content material right here.';
Single Line Mode
embody('safe/safety.class.inc.php'); echo 'protected content material right here.'
Documentation: http://jacekk.co.uk/code/page_protect/README.html
Example of the login web page included
http://jacekk.co.uk/code/page_protect/example.php
Username: admin
Password: lemon
NOTE: this script will solely work you probably have PHP model better than 5.1. I’ve had just a few emails from folks complaining of a clean web page who have been utilizing PHP4. You can test you model through the use of the next code.
<?php echo phpversion(); ?>
I don’t need anybody to waste their cash.
Support
If there are any issues with this merchandise, the very best place to query is within the discussion board as I test that at the very least as soon as a day.
http://betterphp.co.uk/board/viewforum.php?f=29
[ad_2]
To get this product on 50 p.c contact me on this link