#29129 [Com]: PHP_AUTH_USER does not seem to be passing thru

From: Date: Wed, 14 Jul 2004 08:42:05 +0000
Subject: #29129 [Com]: PHP_AUTH_USER does not seem to be passing thru
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-62205@lists.php.net to get a copy of this message
ID: 29129 Comment by: alex dot pagnoni at solarix dot it Reported By: sethw at webglimmer dot com Status: Open Bug Type: *General Issues Operating System: Linux RH ES 3.0 PHP Version: 5.0.0 New Comment: Same bug as #29132. Previous Comments: ------------------------------------------------------------------------ [2004-07-14 01:56:33] sethw at webglimmer dot com Description: ------------ So a dump of $_SERVER reveals that after a <? header( 'WWW-Authenticate: Basic realm="WG Content-Management"' ); ?> that $_SERVER['PHP_AUTH_PW'] is set but not $_SERVER['PHP_AUTH_USER'] Any ideas? Reproduce code: --------------- if (isset( $_SERVER['PHP_AUTH_USER'] ) && isset($_SERVER['PHP_AUTH_PW'])) { // code } // always returns false regardless of what is entered Expected result: ---------------- should return true if the "Authentication Box" is filled in ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29129&edit=1

« previous php.bugs (#62205) next »