PHP Classes

Simple Login Class: Authenticate and manage user records in text files

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 880 All time: 3,990 This week: 238Up
Version License PHP version Categories
simple-login-class 1.00Custom (specified...3.0User Management


This class can be used to authenticate users and manage user records stored in text files. Here the password are encrypted using a custom technique in which base64 encryption with MD5 and SHA1 Hashing in addition to Strrev function is adopted to store Password! This makes the password unbreakable!

It can create records of users which are stored in text files.

The class can also authenticate users by looking up the record text files and check if the supplied password matches the records. A session is started when the user successfully authenticates.

It can also verify if an authenticated user session is valid and logout by ending the logged user session.

Picture of Balaji J H
Name: Balaji J H <contact>
Classes: 1 package by
Country: India India
Age: 31
All time rank: 2514148 in India India
Week rank: 402 Up30 in India India Up

  • Sample-Encrypted-Passwords.png
  • login.png
  • register.png
  Files folder image Files  
File Role Description
Image file encrypted-passwords.png Screen Simple PHP Login Class-encrypted.png
Plain text file index.php Example Simple PHP Login Class - index.php File
Plain text file login.php Example Simple PHP Login Class-login.php
Plain text file logout.php Example Simple PHP Login Class-logout.php
Plain text file register.php Example Simple PHP Login Class-register.php
Plain text file Class Simple PHP Login Class-secure-jh.php
Plain text file stylesheet.css Aux. Simple PHP Login Class-stylesheet.css
Plain text file Userpwd.txt Data Simple PHP Login Class-Userpwd.txt
Plain text file License.txt Lic. Simple PHP Login Class-License.txt
Plain text file Read-Me.txt Doc. Simple PHP Login Class-Read-Me.txt

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,990
This week:238Up