PHP Classes

Login page Authentication: Authenticate users in a MySQL database table

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 35%Total: 1,462 All time: 2,666 This week: 220Up
Version License PHP version Categories
mysql-auth-login 1GNU General Publi...5.2PHP 5, Databases
Description 

Author

This class can Authenticate users in a MySQL database table.

It can query a MySQL table to check if the password for a given user is correct.

A session is started and persistent cookies are set if the user authenticates correctly.

The class can also check if the user previously authenticated successfully by checking the user session or cookies. It can redirect to a given page depending on the result.

It can also log out the current user by removing any session or cookies.

A separate class is provided as login page controller for the PHPBasic framework.

Picture of jeffrey Afable
Name: jeffrey Afable <contact>
Classes: 4 packages by
Country: Philippines Philippines
Age: ???
All time rank: 4039 in Philippines Philippines
Week rank: 703 Down9 in Philippines Philippines Equal

  Files folder image Files  
File Role Description
Plain text file Auth.php Class Library Class
Accessible without login Plain text file LoginPage.php Class Login page controller

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,462
This week:0
All time:2,666
This week:220Up
User Ratings User Comments (2)
 All time
Utility:58%StarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:35%StarStar
Rank:3207
 
nice piece of codes.
11 years ago (Jerry Andag)
60%StarStarStarStar
This is a very good and useful class ! ;-)
11 years ago (José Filipe Lopes Santos)
60%StarStarStarStar