Posted by Tom
2014-04-04
OK, put this code at the top of your page.
<?phpIf you are not logged in, you will see "Unauthorized Access"
error_reporting( 22527 );
$sig = "AuthSessionKey:(" . dirname(__FILE__) .
"/app/cls_auth_base.inc.php)";
@session_start();
if (!(
( isset($_SESSION[$sig] ) ) &&
( $_SESSION[$sig] == $sig )
)) {
echo "Unauthorized Access";
exit;
}
?>
Thanx!