Login   Register  
PHP Classes
elePHPant
Icontem

Tiny Auth: Authenticate users with records stored in MySQL

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Andrey Gadyukov
Name: Andrey Gadyukov <e-mail contact>
Packages: 1 Browse all classes by Andrey Gadyukov Browse all classes by
Country: Kazakhstan Kazakhstan - PHP jobs in Kazakhstan
Age: 23
All time rank: 29053 in Kazakhstan Kazakhstan
Week rank: 2008 Up4 in Kazakhstan Kazakhstan Down


  Detailed description   Download Download .zip .tar.gz  
This class can authenticate users with records stored in MySQL.

It can connect to a MySQL database using the PDO extension and executes a SQL query to verify whether a given user and password are from a valid users and the password is correct.

If found, the class initializes a few session variables with the user account and role information.

The class can also check if the session variables are set to determine if the user is logged. In that case, the class can logout the user by clearing the session variables.

  Classes of Andrey Gadyukov  >  Tiny Auth  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Tiny Auth
Base name: tiny-auth
Description: Authenticate users with records stored in MySQL
Version: 1.0
PHP version: 5.4
License: GNU Lesser General Public License (LGPL)
All time users: 482 users
All time rank: 5284
Week users: 0 users
Week rank: 1808 Equal
 
  Groups   Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image User Management User records, authentication and session handling View top rated classes

  Files folder image Screenshots  
ER Diagram
File Role Description
Files folder imageexample (1 file)
Accessible without login Image file er_diag Screen ER Diagram
Accessible without login Image file screenshot1 Screen screenshot
Accessible without login Image file screenshot2 Screen screenshot2

  Screenshots  /  Files folder image example  
Example database ER diagram
File Role Description
  Accessible without login Image file er_diagram.png Screen Example database ER diagram


  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imageexample (3 files)
Plain text file db.php Class Database abstract connection class
Plain text file TinyAuth.php Class TinyAuth class

  Files  /  Files folder image example  
File Role Description
  Accessible without login Plain text file auth.sql Data Example sql database dump
  Accessible without login Plain text file index.php Example Example script file
  Accessible without login Plain text file main.css Data Example stylesheets file

Download Download all files: tiny-auth.tar.gz tiny-auth.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.