PHP Classes

File: secure_page_admin.php

Recommend this page to a friend!
  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: 22 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"; ?>