View Single Post
  #4 (permalink)  
Old 09-09-2008, 05:35 PM
marzar00 marzar00 is offline
Registered User
 
Join Date: Jun 2008
Posts: 22
G'day invision2,

Ok I have sent you a reply message, but I also thought of something else. This is what my index.php header looks like:
PHP Code:
require_once('../includes/sentry.php');
$theSentry = new Sentry();
if (!
$theSentry->checkLogin(2) ){ header("Location: login.php?action=priv"); die(); }
My header has an extra bit:
PHP Code:
?action=priv
Ignore this, you can delete it.

Marzar
Reply With Quote