PHP Classes

Login page Authentication: Authenticate users in a MySQL database table

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (3 years ago) RSS 2.0 feedStarStar 35%Total: 1,435 All time: 2,585 This week: 1,107Up
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: 49110 in Philippines Philippines
Week rank: 142 Up3 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,435All time:2,585
 This week:0This week:1,107Up
User Ratings User Comments (2)  
 All time
nice piece of codes.
3 years ago (Jerry Andag)
This is a very good and useful class ! ;-)
3 years ago (Josť Filipe Lopes Santos)