ID:               18102
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Windows NT 4
 PHP Version:      4.2.1
 New Comment:

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


Previous Comments:
------------------------------------------------------------------------

[2002-07-01 22:56:16] [EMAIL PROTECTED]


The example code in chapter 17 HTTP Authentication with PHP is:
echo "<p>You entered {$_SERVER['$PHP_AUTH_PW']} as your
password.</p>";

This doesn't work as the key should be 'PHP_AUTH_PW' and not
$PHP_AUTH_PW

The correct code is:
echo "<p>You entered {$_SERVER['PHP_AUTH_PW']} as your password.</p>";


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=18102&edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to