PHP Classes

Login and validate users Class: Authenticate users with records in MySQL database

Recommend this page to a friend!
     
  Info   Demos   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 731 All time: 4,564 This week: 455Up
Version License PHP version Categories
validate-user-login 1.0.0GNU General Publi...5.0PHP 5, Databases, User Management
Description 

Author

This class can authenticate users with records in MySQL database.

It can verify the user name and password of a given user by checking a users table in a MySQL database.

The class starts a session if the user is authenticated successfully.

It can also end the session when the user requests to logout.

Picture of Alison Silva
  Performance   Level  
Name: Alison Silva <contact>
Classes: 1 package by
Country: Portugal Portugal
Age: 39
All time rank: 278638 in Portugal Portugal
Week rank: 195 Up4 in Portugal Portugal Up

  Demo for login system External page  
  Files folder image Files (4)  
File Role Description
Accessible without login Plain text file login.php Example The example file
Accessible without login HTML file help.html Doc. File to help user implement
Plain text file login.class.php Class The class source
Accessible without login Plain text file users.sql Data Create users table

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:731
This week:0
All time:4,564
This week:455Up