I wrote an extremely quick and simple PHP based login script a few years back for some peers. It uses some basic methodology and cookies to authenticate. You can easily modify this script to use sessions, protect against cookie tampering, or add a salt to the encrypted password.

The “Read Me.txt” should give you any direction you may need.

You can download the scripts here.

Simple Login.zip includes:

  • authenticate.php
  • backend.php
  • database.php
  • index.php
  • logout.php
  • process.php
  • Read Me.txt
  • SQL.txt

tags: / / / / /

0 comments

"w3fools.com - because friends don't let friends use w3schools" ~ dan heberden
themify
Learning JavaScript