I have a variables.php file tha sets the username and password for the
directory, and it seems like its not executing.

the directory is recruiter/Admin and the file is put in there

function error ($error_message) {
 echo $error_message."<BR>";
 exit;
 }
if ( (!isset($PHP_AUTH_USER)) || ! (($PHP_AUTH_USER == $LOGIN) && (
$PHP_AUTH_PW == "$PASSWORD" )) ) {
 header("WWW-Authenticate: Basic entrer=\"Form2txt admin\"");
 header("HTTP/1.0 401 Unauthorized");
 error("Unauthorized access...");
 }





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

Reply via email to