Okay, I got that fixed (that directory didn't exist, I just created it)...
But now, I want my php page to check for a session variable and if the session variable is not equal to a specified value, it should display a message...like this:
<?
session_start();
$admin = $HTTP_SESSION_VARS['admin'];
if($admin <> "loggedIn"){
echo "You are not logged in as administrator<br><a href=\"login.php\">Click here</a> to log in.";
} else {
// display some other stuff if it is there
}
?>
But with this, I get:
Notice: Undefined index: admin // on line 3
So, it writes that notice, and also does that echo line...is there a way I can have it ignore that notice?
Thanks.