Ok whats going on here:

  echo "Location: ".$_SESSION["Project"]["location"];
  // above echo's "Location: 0"
  if($_SESSION["Project"]["location"] !=""){
   if (checkAccess("folder", $_SESSION["Project"]["location"], "create")){
    newfile();
   }else{
    reportError(1, "Access Denied");
   }
  }else{
   fatelError(1, "Session Location Error");
  }

Ok $_SESSION["Project"]["location"] is set to 0 but for some reason it
always calls fatelError? even tho $_SESSION["Project"]["location"] is set to
0 can anyone see anything wrong? is 0 treated as null or something?




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to