PHP Classes

Login: Authenticate users with MySQL database records

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
StarStar 39%Total: 1,137 All time: 3,322 This week: 455Up
Version License PHP version Categories
login-mysql 1.0.0GNU General Publi...5PHP 5, Databases, User Management
Description 

Author

This is a simple class that can authenticate users with MySQL database records.

It can query a MySQL database to lookup if a given user exists in the users table and check if the password hash is correct.

Picture of Hoheckell Filho
  Performance   Level  
Name: Hoheckell Filho <contact>
Classes: 1 package by
Country: Brazil Brazil

  Files folder image Files (2)  
File Role Description
Files folder imagelogin (2 files)

  Files folder image Files (2)  /  login  
File Role Description
  Accessible without login Plain text file index.php Example basic login
  Plain text file login.php Class basic login

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:1,137
This week:0
All time:3,322
This week:455Up
User Ratings User Comments (1)
 All time
Utility:50%StarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:68%StarStarStarStar
Tests:-
Videos:-
Overall:39%StarStar
Rank:3921
 
isn't this class prone to sql injections??
12 years ago (Sandeep Parekh)
35%StarStar