Login   Register  
PHP Classes
elePHPant
Icontem

Login page Authentication: Authenticate users in a MySQL database table

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (2 years ago) RSS 2.0 feedStarStar 35%Total: 1,403 This week: 1All time: 2,582 This week: 1,462Up
Version License PHP version Categories  
mysql-auth-login 1GNU General Public Lice...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: 56510 in Philippines Philippines
Week rank: 33 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,403All time:2,582
 This week:1This week:1,462Up
User Ratings User Comments (2)  
 All time
Utility:58%StarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:35%StarStar
Rank:2286
 
nice piece of codes.
2 years ago (Jerry Andag)
60%StarStarStarStar
This is a very good and useful class ! ;-)
2 years ago (Josť Filipe Lopes Santos)
60%StarStarStarStar