<?php
/*
twzAuth-include.php (simple mode)
If you only have one page to protect, these commands can be in that script.
We've used this include file to make it easier to protect multiple pages.
*/
$ValidUsers=array('user_1'=>'wr$5trTygY67I86', 'user_2'=>'deFgt%4ddChg7*6');
require '../twzAuth.class.php';
$auth=new twzAuth($ValidUsers);
$Username = $auth->validate();
?>
|