PHP Classes
elePHPant
Icontem

Tiny Auth: Authenticate users with records stored in MySQL

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2012-10-06 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 520 All time: 5,428 This week: 1,081Up
Version License PHP version Categories
tiny-auth 1.0GNU Lesser Genera...5.4PHP 5, Databases, User Management
Description Author

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.

Picture of Andrey Gadyukov
Name: Andrey Gadyukov <contact>
Classes: 1 package by
Country: Kazakhstan Kazakhstan

Screenshots  
  • screenshot2
  • screenshot1
  • example/er_diagram.png
  • er_diag
  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 folder image Files  /  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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:520
This week:0
All time:5,428
This week:1,081Up