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

Reply via email to