1 <? 2 require_once("connect.php"); 3 4 // Make sure user is really logged in, flush the session vars, then redirect. 5 if ($_SESSION["isloggedin"] == $glbl_hash) { 6 unset($_SESSION["isloggedin"]); 7 unset($_SESSION["username"]); 8 unset($_SESSION["isadmin"]); 9 } 10 11 header("Location: ".$nr_url); 12 exit; 13 14 ?>