From:             sethw at webglimmer dot com
Operating system: Linux RH ES 3.0
PHP version:      5.0.0
PHP Bug Type:     *General Issues
Bug description:  PHP_AUTH_USER does not seem to be passing thru

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 bug report at http://bugs.php.net/?id=29129&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29129&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29129&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29129&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29129&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29129&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29129&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29129&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29129&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29129&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29129&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29129&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29129&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29129&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29129&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29129&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29129&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29129&r=float

Reply via email to