Projects / Simple Login Class

Simple Login Class

Simple Login Class is a PHP class that can be used to prevent unauthorized access of Web pages. A simple user management system can be implemented with this class very quickly. It does not use databases or database queries to store the user details. Instead of a database, it uses a text file to store the details. An access encoding technique (Base64), two hashing techniques (SHA1 and MD5), an a built-in PHP function (StrRev) are used here to store passwords more securely in the text file. Simple Login Class can be used in any PHP page just by embedding a snippet at the top of a the page to be protected. Any number of user logins can be stored more securely in a single file. The sessions are handled more safely in this system than some other login systems. The user registration system applied here is simplified. In certain cases, no configuration is needed to use this class.

Operating Systems

Project Spotlight


A Fluent OpenStack client API for Java.


Project Spotlight

TurnKey TWiki Appliance

A TWiki appliance that is easy to use and lightweight.