Pattern Lock Login Register in PHP

Pattern Lock Login Register in PHP

This script provides you the login to any website using pattern
Only 3 successive wrong attempts and then wait for 30 seconds.This helps prevent form bots.

Login Register using Pattern Lock

This script is used for register and login to website using PatternLock.
The design is completely responsive
Very simple steps to use Login and Register on your website.


  1. Make database connection setting in config.php file
  2. Create database using phpmyadmin or whatever way you like
  3. Import user.sql file into database.

Now you are ready to start register and login.

  1. Enter the fields and make pattern and just click register
  2. Now can you can login using the credential.

On Desktop

On Tablet/Mobile Phones/Ipad

For online demo.

  1. Register account by clicking ‘create an account’
  2. Then login using the credentials
username: admin
pattern: 123654
See below for pattern for test login

Update History
Version 1.3

- Security Issue Fixed:GET Method changed to POST

Version 1.2

- 3 attempts security added

Version 1.1

- Minor fixes

Version 1.0

Initial release


Sudhanshu Yadav – ignitersworld

More items by ajay138

HRM - Human Resource Management Pattern Lock Login Register in PHP User Login Register and User Management Ajax Login And Register using PDO