PHP Classes

Login page Authentication: Authenticate users in a MySQL database 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
StarStar 34%Total: 1,463 All time: 2,671 This week: 455Up
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

 

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

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,463
This week:0
All time:2,671
This week:455Up
User Ratings User Comments (2)
 All time
Utility:56%StarStarStar
Consistency:62%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:34%StarStar
Rank:4200
 
nice piece of codes.
13 years ago (Jerry Andag)
60%StarStarStarStar
This is a very good and useful class ! ;-)
13 years ago (José Filipe Lopes Santos)
60%StarStarStarStar