Simple Login System PHP Script

Overview

Description

Secure yet Simple Login System built with PHP PDO for protection against SQL Injection. It uses AJAX for a more smooth user experience. It also includes rembember me feature that uses cookies to remember your login information even if you close your browser and shutdown your computer.

 

Features

  • AJAX Based
  • Secure PDO Scripting
  • Remember me feature
  • Auto timeout

 

Included

  • Full source code
  • Images and logos
  • Database structure

 

Requirements

  • PHP Min 5.2
  • mySQL Min 5.5

 

Instructions

Simply copy all the content to the directory you wish to work.

The database connection credentials are stored in the file called “connection.php” and its stored in the “imports” folder.

The timeout time can be setted in the “configs.php” file, stored in the “imports” folder and the time must be placed in seconds.

The time of the remember me feature is located in the “login.php” file, it must be placed using “time() + seconds*minutes*hours*days”.

The default username and password are: admin/admin

Related