Does anyone know why IE5.01 ignores the following headers:
<?php
if (!isset($PHP_AUTH_USER)) {
Header("WWW-Authenicate: Basic Realm=\"SecuredArea\"");
Header("HTTP/1.0 401 Unauthorized");
echo "Invalid password entered!";
} else {
// do something ...
}
?>
When accessed with IE5.01, there's no pop-up authenication window, just the
error message "Invalid password entered!". But with IE4.0 it seems to work just fine.
Any ideas????