By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,949 Members | 1,855 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,949 IT Pros & Developers. It's quick & easy.

http authentication problem

P: n/a
if ((!isset( $PHP_AUTH_USER )) || (!isset($PHP_AUTH_PW))) {

header( 'WWW-Authenticate: Basic realm="Private"' );
header( 'HTTP/1.0 401 Unauthorized' );
echo 'Authorization Required.';
exit;

} else {

echo "You entered $PHP_AUTH_USER for a username.<BR>";
echo "You entered $PHP_AUTH_PW for a password.<BR>";

}

why does the above keep on asking me for username and password
Jul 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
my global_variable setting is ON, i am using php 4.3.1 with apache 2
server on xp pro.
Jul 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.