session_start();
if (@$_SESSION['auth'] != 'yes'){
header("Location: badlogin.php");
exit();
}
is't it supposed to look like this...?
session_start();
if ($_SESSION["auth"] != "yes"){
header("Location: badlogin.php");
exit();
}
And
this soulde look like this
$_SESSION["auth"] = "yes";
Im not the best at session hope it helpS!
Not do it wright some values into the session file??
Norsk ... Coolt kör också windows 2003 server fast beta!