note 9873 deleted from features.http-auth by philip

From: Date: Tue, 16 Jul 2002 18:40:44 +0000
Subject: note 9873 deleted from features.http-auth by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-33175@lists.php.net to get a copy of this message
When calling in a function and using the $PHP_AUTH_USER and $PHP_AUTH_PW against mysql connect I found I needed to omit the isset call and just do: if(!$PHP_AUTH_USER or !$PHP_AUTH_PW). Otherwise the mysql_connect('host',$PHP_AUTH_USER,$PHP_AUTH_PW) call returns a value. Also, in the checking for mysql_connect return value, I need to include the auth headers again to get things working as expected.

« previous php.notes (#33175) next »