$PHP_AUTH taking aaaaaaages

From: Date: Thu, 20 Jul 2000 13:33:10 +0000
Subject: $PHP_AUTH taking aaaaaaages
Groups: php.general 
Request: Send a blank email to php-general+get-7412@lists.php.net to get a copy of this message
Hi, I have the following code: if(!isset($PHP_AUTH_USER) || $PHP_AUTH_USER!="root" ||$PHP_AUTH_PW!="foobar") { Header("WWW-Authenticate: Basic realm=\"Sysadmin\""); Header("HTTP/1.0 401 Unauthorized"); echo "You need to enter your password to access this area.\n"; exit; } and it makes the site take ages to load, wether the password is right or not. -Gfunk [-= Visit my website! http://www.gfunk007.com/ - ICQ:74477509 =-]

« previous php.general (#7412) next »