From: [EMAIL PROTECTED]
Operating system: Windows NT 4
PHP version: 4.2.1
PHP Bug Type: Documentation problem
Bug description: Chapter 17 example code wrong in manual in Windows Help file format
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 bug report at http://bugs.php.net/?id=18102&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18102&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18102&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18102&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18102&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18102&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18102&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18102&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18102&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18102&r=globals
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php