Login   Register  
PHP Classes

Simple PHP User Authentication: Authenticate users with records in a MySQL table

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Damian Stepien
Name: Damian Stepien <e-mail contact>
Packages: 1 Browse all classes by Damian Stepien Browse all classes by
Country: Poland Poland - PHP jobs in Poland
Age: 18
All time rank: 202351 in Poland Poland
Week rank: 232 Up7 in Poland Poland Up

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can authenticate users with records in a MySQL table.

It can connect to a MySQL database using the MySQLi extension and validate a user with a given password.

If the user password is correct, the class starts a PHP session and updates the user database records with his logged user session identifier.

The class can also check later if the user is already logged and log out the user destroying his user session.

  Classes of Damian Stepien  >  Simple PHP User Authentication  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Simple PHP User Authentication
Base name: user-auth
Description: Authenticate users with records in a MySQL table
Version: 1.0
PHP version: 5.0.0
License: Public Domain
All time users: 1076 users
All time rank: 3150
Week users: 10 users
Week rank: 149 Up
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image User Management User records, authentication and session handling View top rated classes

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Perfect (100.0%) Good (91.7%) - Perfect (100.0%) - - Sufficient (69.2%) 249
Month: Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imagedemo (4 files)
Plain text file userauth.class.php Class Class file

  Files  /  Files folder image demo  
File Role Description
  Accessible without login Plain text file database.sql Example Example - database
  Accessible without login Plain text file index.php Example Example - index.php
  Accessible without login Plain text file login.php Example Example - login.php
  Accessible without login Plain text file logout.php Example Example - logout.php

Install with Composer Install with Composer - Download Download all files: user-auth.tar.gz user-auth.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.