PHP Classes

Classes of Andrey Gadyukov

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Andrey Gadyukov (1)  >  Mission progress status  >  Reputation  
Picture of Andrey Gadyukov
Name: Andrey Gadyukov <contact>
Classes: 1
Country: Kazakhstan Kazakhstan
Age: 33
All time rank: 32163 in Kazakhstan Kazakhstan
Week rank: 180 Up1 in Kazakhstan Kazakhstan Up
All time users: 531
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Tiny Auth  
Authenticate users with records stored in MySQL
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.
Not enough user ratings


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z