Doc #53318 [NEW]: possibly outdated information

From: Date: Mon, 15 Nov 2010 17:15:12 +0000
Subject: Doc #53318 [NEW]: possibly outdated information
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5527@lists.php.net to get a copy of this message
From: Operating system: linux PHP version: 5.3.3 Package: Documentation problem Bug Type: Documentation Problem Bug description:possibly outdated information Description: ------------ --- From manual page: http://www.php.net/reserved.variables.server --- I can confirm that $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] are populated when running lighttpd 1.4.26 with php/cgi 5.3.3 under fastcgi Test script: --------------- <?php if (!isset($_SERVER['PHP_AUTH_USER'])) { header('WWW-Authenticate: Basic realm="My Realm"'); header('HTTP/1.0 401 Unauthorized'); echo 'Fine, be like that. See if I let you in.'; exit; } else { echo "<p>Hello {$_SERVER['PHP_AUTH_USER']}.</p>"; echo "<p>You entered {$_SERVER['PHP_AUTH_PW']} as your password.</p>"; } ?> -- Edit bug report at http://bugs.php.net/bug.php?id=53318&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53318&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53318&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53318&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=53318&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53318&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=53318&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=53318&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=53318&r=needscript Try newer version: http://bugs.php.net/fix.php?id=53318&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=53318&r=support Expected behavior: http://bugs.php.net/fix.php?id=53318&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=53318&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=53318&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=53318&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53318&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=53318&r=dst IIS Stability: http://bugs.php.net/fix.php?id=53318&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=53318&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=53318&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=53318&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=53318&r=mysqlcfg

« previous php.doc.bugs (#5527) next »