Login   Register  
PHP Classes
elePHPant
Icontem

PHPAuth: Register and authenticate users stored in MySQL

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-08-15 (3 months ago) RSS 2.0 feedNot enough user ratingsTotal: 936 All time: 3,561 This week: 1,504Up
Version License PHP version Categories  
phpauth-2 1.0GNU General Public Lice...5.3PHP 5, Databases, User Management
Description Author  

This class can register and authenticate users stored in MySQL.

It can connect to a MySQL server using the MySQLi extension and create new user records in a MySQL table with a given e-mail, user name and password.

The e-mail address is validated before creation. If it is invalid the class can add increase a counter of invalid access attempts and block accesses from the same IP address for a certain period.

After a successful account creation the class returns an activation key that may be sent to the user e-mail address, so he can activate his account. The class can also takes care of the account activation verifying the activation key.

The class can also login the user verifying the user name and password. When the login attempt is valid, it returns a session code.

Picture of Cuonic
Name: Cuonic <contact>
Classes: 2 packages by
Country: France France
Age: 28
All time rank: 115340 in France France
Week rank: 498 Up20 in France France Up

  Files folder image Files  
File Role Description
Files folder imagelanguages (1 file)
Accessible without login Plain text file auth.class.php Class Class source
Accessible without login Plain text file config.class.php Class Class source
Accessible without login Plain text file database.sql Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file password.php Class Class source
Accessible without login Plain text file readme.md Doc. Documentation

  Files folder image Files  /  languages  
File Role Description
  Accessible without login Plain text file en.php Aux. Auxiliary script

 Version Control Unique User Downloads Download Rankings  
 100%Total:936All time:3,561
 This week:0This week:1,504Up