PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2011-12-19 (4 years ago) RSS 2.0 feedStarStar 35%Total: 1,451 All time: 2,602 This week: 1,040Up
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: 4239 in Philippines Philippines
Week rank: 127 Up2 in Philippines Philippines Up

  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,451
This week:0
All time:2,602
This week:1,040Up
User Ratings User Comments (2)
 All time
Utility:58%StarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:35%StarStar
Rank:2776
 
nice piece of codes.
4 years ago (Jerry Andag)
60%StarStarStarStar
This is a very good and useful class ! ;-)
4 years ago (Josť Filipe Lopes Santos)
60%StarStarStarStar