PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!

  Author Author  
Picture of Damian Stepien
Name: Damian Stepien <contact>
Classes: 1 package by
Country: Poland Poland


  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
 
  Groups   Applications   Files Files  

  Groups  
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


  Applications that use this package  
No pages of applications that use this class were specified.

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 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

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.