Invalid Username/Password Entered

You must enter your username and password. If you do not have a valid username and password, you probably shouldn't be here.

"; # Function to handle rejecting users. function auth_reject() { global $err_msg, $realm; Header("HTTP/1.0 401 Unauthorized"); Header("WWW-Authenticate: Basic realm=\"$realm\""); echo $err_msg; exit(); } if (!isset($PHP_AUTH_USER)) { auth_reject(); } if (!isset($PHP_AUTH_PW)) { auth_reject(); } if ($PHP_AUTH_USER != 'admin') { auth_reject(); } if ($PHP_AUTH_PW != 'FooBar2!') { auth_reject(); } # If we make it this far, the user is good to go... ?>