Login   Register  
PHP Classes
elePHPant
Icontem

File: sample1.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Logan Dugenoux  >  Simple Login  >  sample1.php  >  Download  
File: sample1.php
Role: Example script
Content type: text/plain
Description: simpleLogin simple sample file
Class: Simple Login
Multiuser page access managment without database
Author: By
Last change:
Date: 10 years ago
Size: 340 bytes
 

Contents

Class file image Download
<?
require "simpleLogin.php";
$sl = new simpleLogin();
$sl->CheckLogin();        // this will not display the page if not logged
$sl->ManageUsers();        // Put this line if you wand the admin to see the manager interface
?>
You are identified !<br><br>Your user name is <?=$sl->userName();?>
<br><br><a href=?simpleLogin_logOut=1>logout</a>