

Lockr - Lock Your Pages PHP ScriptLockr - Lock Your Pages PHP Script
Presenting you a solution which is as simple & easy as it gets - just a single line of code and you're done.
Lockr - Lock Your Pages PHP Script
Presenting you a solution which is as simple & easy as it gets - just a single line of co...
Overview
Lockr - Lock Your Pages
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.
Demo
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.
Features
Features
- No installation or usage of databases required
- Expansive configuration options, including log-in persistence
- All-in-one package, everything is included in a single file
- Simple usage - only one line of code for full implementation!
- Fully responsive design with multiple color options
Requirements
Requirements
- PHP 5 or PHP 7
Instructions
Usage
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.
Category | Scripts & Code / PHP Scripts / Security |
First release | 2 January 2019 |
Last update | 2 January 2019 |
Software version | PHP 7.0, PHP 7.1, PHP 7.2, PHP 5.x |
Tags | simple, easy, dark, password, protect, login, lock, unlock, password protect |