Login   Register  
PHP Classes
elePHPant
Icontem

Simple Authentication Class: Authenticate users listed in an array

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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-01-14 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,410 All time: 2,575 This week: 1,538Up
Version License PHP version Categories  
sac 1.0GNU General Public Lice...4.1.0User Management
Description Author  

This class can be used to authenticate site users.

It looks up an user and password in array with all authorized users.

If the user exists and the password is correct, it sets two cookies, one for the user and another for the password, to start an authenticated session.

The class may also invalidate the authentication by forcing the user and password cookies to expire.

Picture of Mark Davidson
Name: Mark Davidson <contact>
Classes: 3 packages by
Country: United Kingdom United Kingdom
Age: 27
All time rank: 17610 in United Kingdom United Kingdom
Week rank: 318 Down15 in United Kingdom United Kingdom Down

  Files folder image Files  
File Role Description
Plain text file sac.class.inc.php Class simpleAuthenticationClass core class file
Accessible without login Plain text file sac.config.inc.php Conf. simpleAuthenticationClass config file
Accessible without login Plain text file sac.demo.php Example Demo File of simpleAuthenticationClass

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,410All time:2,575
 This week:0This week:1,538Up