PHP Classes

Login Class: Authenticate users with MySQL database records

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 2,889 All time: 1,298 This week: 200Up
Version License PHP version Categories
begemot 2.0GNU General Publi...5.0HTML, Databases, User Management


This class can be used to authenticate users with records in a MySQL database table.

It can present an HTML form to submit the user name and password when the user is not yet authenticated.

The class verifies the user credentials against records of a MySQL database table.

If the user is authenticated successfully, the class sets some session variables with the user details.

The MySQL database table fields to check are configurable.

Picture of Alexey Shomin
Name: Alexey Shomin <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation
Age: ???
All time rank: 111036 in Russian Federation Russian Federation
Week rank: 441 Up18 in Russian Federation Russian Federation Up

  Files folder image Files  
File Role Description
Plain text file login.class.php Class Source of Class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,298
This week:200Up