RE: [PHP] $PHP_AUTH taking aaaaaaages

From: Date: Thu, 20 Jul 2000 20:55:08 +0000
Subject: RE: [PHP] $PHP_AUTH taking aaaaaaages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-7476@lists.php.net to get a copy of this message
I posted something about this last year, and i noticed it more pronounced on one browser than the other. I can't remember if IE was faster than NS or vise versa, but there was definately a HUGE delay. It totally sucked and I just decided to bag it and go with .htaccess files or better still mod_auth_mysql... Nobody ever did give me a reason for the lag. > -----Original Message----- > From: gfunk007 [mailto:josh@gfunk007.com] > Sent: Thursday, July 20, 2000 6:38 AM > To: php-general@lists.php.net > Subject: Re: [PHP] $PHP_AUTH taking aaaaaaages > > > More details- It works on the office servers, but not on my win98 > machine running xitami > > -Gfunk > > [-= Visit my website! http://www.gfunk007.com/ - ICQ:74477509 > =-] > > > ----- Original Message ----- > From: gfunk007 <josh@gfunk007.com> > To: <php-general@lists.php.net> > Sent: Thursday, July 20, 2000 11:33 PM > Subject: [PHP] $PHP_AUTH taking aaaaaaages > > > 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 > =-] > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#7476) next »