PHP Classes

Login Class: Authenticate users with MySQL database records

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 2,890 All time: 1,299 This week: 488Up
Version License PHP version Categories
begemot 2.0GNU General Publi...5.0HTML, Databases, User Management
Description 

Author

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: 111136 in Russian Federation Russian Federation
Week rank: 195 Up12 in Russian Federation Russian Federation Up

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,890
This week:0
All time:1,299
This week:488Up