http auth PHP_AUTH_USER PHP_AUTH_PASS
| From: | David Walgamotte | Date: | Fri, 10 Nov 2000 20:42:42 +0000 |
| Subject: | http auth PHP_AUTH_USER PHP_AUTH_PASS | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-24713@lists.php.net to get a copy of this message | ||
These 2 var.(PHP_AUTH_USER PHP_AUTH_PASS) seem to get dropped intermittently
and the site attempts to re-auth. the user.
Any help would be most appreciated.
ie.
function authenticateUser() {
global $realm;
Header( "WWW-authenticate: basic realm=\"$realm\""
);
Header( "HTTP/1.0 401 Unauthorized" );
}
DW