MD Simple Login

This is a one file ( 6 kb ) php script developed to meet very basic protection needs. Details of this script is as mentioned below.

MD Simple Login v1.0

About : This script is to provide login system to your protected content. This script just have one file named “login.php”

Install : Just put file “login.php” to the root of your website. Default login is

Username: user

Password: password

Change this in file “login.php” as your need.

How to use it : just insert following line in your protected page as its first line.

<?php require_once(“”.$_SERVER[‘DOCUMENT_ROOT’].”/login.php”);?>

That’s all. You may need to change this in your pages based on your

structure. To logout just supply word “logout” as argument in url as


1. One file script.

2. Very light-weight script 6 kb only

3. Multiple-user support.

4. Can define redirection url on logout.

5. Auto-logout can be done based on inactivity time.


2012-Jun-17 Released this script.

This Script can be downloaded here