PHP Classes
elePHPant
Icontem

Simple login and database module: Authenticate users with records in a MySQL table

Recommend this page to a friend!

  Author Author  
Name: Saeed Ahmed <contact>
Classes: 1 package by
Country: Bangladesh Bangladesh
Age: 29
All time rank: 170627 in Bangladesh Bangladesh
Week rank: 1052 Up19 in Bangladesh Bangladesh Up


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

It can check a given user with a password. If the user exists and the password is correct, it will start a session and redirect the browser to a secure are page.

Details
{startverticalbanner}
This class is written to create login module. also this class is written to connect database, sql query execution and fetch data from database table.

-> query_execute($query)
this function is for execution the sql query.
$query = the mysql query.

->fetch_data($result)
this function is for the fetch data from the database table.
$result = the return value after execute mysql query

->login_user($username, $password)
login_user is for login function. it validate the user from database. 

$username = user name and $password = password.

this class is under GPL license. you are very welcome for modifications of this class. please feel free to contact me with the bugs or any modifications.

my contact email saeed.sas@gmail.com

  Classes of Saeed Ahmed  >  Simple login and database module  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Simple login and database module
Base name: login
Description: Authenticate users with records in a MySQL table
Version: 1.0
PHP version: 5
License: GNU General Public License (GPL)
All time users: 1606 users
All time rank: 2389
Week users: 0 users
Week rank: 598 Equal
 
  Groups   Rate classes User ratings   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


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Not sure (50%) Sufficient (68%) Not sure (56%) Sufficient (75%) - - Not sure (45%) 2577
Month: Not yet rated by the users

  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
Plain text file login.class.php Class class file
Accessible without login Plain text file readme.txt Doc. documentation for the class
Accessible without login Plain text file sample.php Example sample file
Accessible without login Plain text file sample_sql.sql Data sample sql files for testing
Accessible without login Plain text file securearea.php Example secure page after login

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