#95 [NEW]: Unable to Auth

From: Date: Mon, 13 Oct 2003 17:04:23 +0000
Subject: #95 [NEW]: Unable to Auth
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22657@lists.php.net to get a copy of this message
From: pear at handco dot org Operating system: Win / Nux PHP version: 4.3.2 PHP Bug Type: Auth_HTTP Bug description: Unable to Auth Description: ------------ It's impossible to auth with the Auth_HTTP class. Some users foudn a solution on the mailing list : Replace the assignData function by : function assignData(){ if ($_SERVER['PHP_AUTH_USER'] != "") { $this->username = $_SERVER['PHP_AUTH_USER']; } if ($_SERVER['PHP_AUTH_PW'] != "") { $this->password = $_SERVER['PHP_AUTH_PW']; } } Then it work well...l Expected result: ---------------- Auth correctly Actual result: -------------- Loop for waiting Auth.... -- Edit bug report at http://pear.php.net/bugs/bug.php?id=95&edit=1 --

« previous php.pear.dev (#22657) next »