PHP Easy Lock

PHP Easy Lock Created by artur99. This templates have specific characteristics, namely: Ever wanted to block the access of users on a certain page, but didn’t find a good code for that? Well this is it! All you need is inside one file, and is being run from one single line of .

You can use this PHP Easy Lock on Php scripts category for block access, block page, deny, easy, easy lock, lock access, lock page, locker, password, password locker, php, php lock, responsive, unwanted and another uses.

PHP Easy Lock
© Copyright by artur99

Features:

  • None: None
  • None: None
  • Php 7.x, php 4.x, php 5.x, php 5.0 5.2, php 5.3, php 5.4, php 5.5, php 5.6: PHP 7.x, PHP 4.x, PHP 5.x, PHP 5.0 – 5.2, PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6
  • None: None
  • Php: PHP
  • None: None

About

Ever wanted to block the access of users on a certain page, but didn’t find a good code for that? Well this is it! All you need is inside one file, and is being run from one single line of code…

Features

  • No installation, no configuration, no database needed
  • Everything is inside a single file
  • Very easy to use. For basic usage you only need 1 line of code
  • Fully Responsive and brand new design. Works perfect on mobiles, tablets, laptops and desktops
  • 3 skins( + other 4 that come as a bonus) to choose from
  • For higher functional demands, there are lots of functionalities, like sha512 encryption, IP blocking, limiting number of attempts etc.
  • Running very fast ~0.006 seconds (6 milliseconds)

Simple examples of usage

<?php include'easy-lock.php'; lock('pass123'); ?>

This code will lock the page with the password “pass123”

<?php include'easy-lock.php'; lock('pass123', 3); ?>

This code will lock the page with the password “pass123” and will show the skin 3

Using the sha512 mode:

<?php    include'easy-lock.php';    $options = array(        'sha512' => true    );    lock('d404559f602eab6fd602ac7680dacbfaadd13630335e951f097af3900e9de176b6db28512f2e000b9d04fba5133e8b1c6e8df59db3a8ab9d60be4b97cc9e81db', 1, $options);?>

This code will lock the page with the password “1234”, as the “d404559f602eab6fd602ac7680dacbfaadd13630335e951f097af3900e9de176b6db28512f2e000b9d04fba5133e8b1c6e8df59db3a8ab9d60be4b97cc9e81db” is the sha512 encoding for “1234”;

Few screenshots

Skins 3 on wide screen

Skins 5 and 7 on tab and on mobile

Skins 2 and 3 on mobile

Skins 4 and 5 on mobile

Skins 1 and 6 on mobile

More…

Check out some demos here: http://artur99.net/items/easy-lock/
Version: 1.3
Upcoming skins and features in next updates…