<?php
/*
twzAuth-include.php (extended 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.
*/
require '../twzAuth.class.php';
$auth=new twzAuth('./users.db'); // TIP: datastore is safer above the web root
$auth->setAdmin('admin_user', 'sWWe#6&*uyggh!');
$Username = $auth->validate();
?>
|