Login   Register  
PHP Classes
elePHPant
Icontem

Secure PHP Login System: Register and login users using a database via PDO

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Example   Demos   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-08-04 (1 month ago) RSS 2.0 feedNot enough user ratingsTotal: 1,174 This week: 22All time: 2,970 This week: 41Up
Version License PHP version Categories  
secure-login-system 0.2GNU General Public Lice...5.2PHP 5, Databases, User Management
Description Author  

This class can register and login users using a database via PDO.

It can process the registration of a user given the user name, password, name and email address.

It can also authenticate a user given the user name and password and optionally set a cookie to remember the user name on the next login.

The class starts a session for successfully authenticated users.

It can also log out by ending the user session, send a password reminder message and change the user password.

Picture of Subin Siby
Name: Subin Siby <contact>
Classes: 2 packages by
Country: India India
Age: 14
All time rank: 1854114 in India India
Week rank: 45 Up5 in India India Up

  logSys DemoExternal page  
  Files folder image Files  
File Role Description
Accessible without login Plain text file change.php Example Change Password Page
Plain text file class.loginsys.php Class The class file
Accessible without login Plain text file home.php Example The Home Page where user ends up after logging in
Accessible without login Plain text file index.php Example The main site (example) page
Accessible without login Plain text file LICENSE Lic. GPL License
Accessible without login Plain text file login.php Example The Login Page
Accessible without login Plain text file logout.php Example User gets logged out when he visits this page
Accessible without login Plain text file README.md Data A Readme
Accessible without login Plain text file register.php Example The Registration page
Accessible without login Plain text file reset.php Example The "Forgot Password ?" or reset password page
Accessible without login Plain text file table.sql Data The SQL file to create the users table

 Version Control Unique User Downloads Download Rankings  
 100%Total:1,174All time:2,970
 This week:22This week:41Up