Info
Name | Lockr – Lock Your Pages PHP Script |
Market | codester.com |
Category | Security |
Tags | dark, easy, lock, login, password, password protect, protect, simple, unlock |
Have you ever wanted to limit access to specific pages from users? Presenting you a solution which is as simple & easy as it gets – just use a single line of code and you’re done.
You can test a working version of Lockr with default settings here. The password is set to password123
.
You can also visit Lockr’s project page here.
Extremely basic example, using the default settings:
<?php include("lockr.php"); lock("password123", array()); ?>
If you want to use Lockr’s customization options, put the desired options inside an array in the lock function call.
<?php include("lockr.php"); lock("password123", array('persistence' => True)); ?>
For full configuration instructions, visit Lockr’s project page or view the readme file.