This simple PHP login system is formed to be easily implemented into any new or current existing website to allow webmasters/owners to give their users an area to login, be able to restrict their pages from anonymous visitors, or display custom content based on the user. Please take note that this system does not include any other systems like user registration, user management, or content management, this only establishes a connection/session to your website with login credentials, however still allows access to query your database, and pull any information you choose to store in there. To make it easy for developers and non-developers alike, I went ahead and created a setup file included in the package which will allow you to easily set up the system with your MySQL database.
MySQL database (5.x)
Simple and secure PHP PDO, OOP script
MySQL database-driven, to hold user information
Easy to implement with any new or current websites
Secure from common SQL Injection, and XSS attacks
Usage of the whirlpool hashing algorithm (512-bit digest) to secure user passwords safely in your database, however you may change the algorithm to whichever you use or to not use one at all