PHP Classes

User Checker: Authenticate users with records in a MySQL table

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: 858 All time: 4,080 This week: 455Up
Version License PHP version Categories
userchecker 0.9Free for non-comm...5PHP 5, Databases, User Management
Description 

Author

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

It connects to a MySQL database and retrieves the password field of the record a given user to be authenticated.

If the given user record exists, the class verifies whether the password is correct, eventually using a configurable password hashing function.

The user records database table name and the user identifier and password field names are also configurable.

Picture of Jon Gjengset
Name: Jon Gjengset is available for providing paid consulting. Contact Jon Gjengset .
Classes: 10 packages by
Country: Norway Norway
Age: 34
All time rank: 2301 in Norway Norway
Week rank: 164 Up1 in Norway Norway Equal
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files (3)  
File Role Description
Plain text file userchecker.class.php Class The main class
Accessible without login Plain text file userchecker.complex-example.php Example Complex example showing all methods
Accessible without login Plain text file userchecker.example.php Example Simple example of usage

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:858
This week:0
All time:4,080
This week:455Up
User Comments (1)