PHP Classes

File: sample1.php

Recommend this page to a friend!
  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: 20 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>