PHP Classes

Simple PHP User Authentication: Authenticate users with records in a MySQL table

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 60%Total: 1,696 All time: 2,323 This week: 455Up
Version License PHP version Categories
user-auth 1.0Public Domain5.0.0PHP 5, Databases, User Management
Description 

Author

This class can authenticate users with records in a MySQL table.

It can connect to a MySQL database using the MySQLi extension and validate a user with a given password.

If the user password is correct, the class starts a PHP session and updates the user database records with his logged user session identifier.

The class can also check later if the user is already logged and log out the user destroying his user session.

Picture of Damian Stepien
  Performance   Level  

 

  Files folder image Files (5)  
File Role Description
Files folder imagedemo (4 files)
Plain text file userauth.class.php Class Class file

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:1,696
This week:0
All time:2,323
This week:455Up
User Ratings User Comments (1)
 All time
Utility:87%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1156
 
good
11 years ago (Rahul Shambharkar)
70%StarStarStarStar