PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2013-09-03 (3 years ago) RSS 2.0 feedStarStarStarStar 69%Total: 1,652 All time: 2,317 This week: 564Up
Version License PHP version Categories
user-auth 1.0Public Domain5.0.0PHP 5, Databases, User Management
Description Author

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.

  Performance   Level  
Name: Damian Stepien <contact>
Classes: 1 package by
Country: Poland Poland
Age: 22
All time rank: 166446 in Poland Poland
Week rank: 1050 Up21 in Poland Poland Up

  Files folder image Files  
File Role Description
Files folder imagedemo (4 files)
Plain text file userauth.class.php Class Class file

  Files folder image Files  /  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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,652
This week:0
All time:2,317
This week:564Up
User Ratings User Comments (1)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:69%StarStarStarStar
Rank:440
 
good
3 years ago (Rahul Shambharkar)
70%StarStarStarStar