Login   Register  
PHP Classes
elePHPant
Icontem

File: secure_page_admin.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Daniel Kushner  >  PasswdAuth  >  secure_page_admin.php  >  Download  
File: secure_page_admin.php
Role: ???
Content type: text/plain
Description: Example of a page that allows only the 'admin' user to access
Class: PasswdAuth
Author: By
Last change:
Date: 12 years ago
Size: 113 bytes
 

Contents

Class file image Download
<?php
include('class.PasswdAuth.inc');
$auth = new PasswdAuth();
$auth->check('admin');
echo "You're in";
?>