Doc #53318 [Opn->Csd]: possibly outdated information

From: Date: Wed, 17 Nov 2010 08:43:09 +0000
Subject: Doc #53318 [Opn->Csd]: possibly outdated information
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5534@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53318&edit=1 ID: 53318 Updated by: Kalle@php.net Reported by: inithello at gmail dot com Summary: possibly outdated information -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: linux PHP Version: 5.3.3 -Assigned To: +Assigned To: Kalle Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2010-11-17 09:43:01] kalle@php.net Automatic comment from SVN on behalf of kalle Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=305447 Log: Fixed bug #53318 (possibly outdated information) # I removed the Apache + IIS references as almost all of our SAPI's support # HTTP Authentication, those who doesn't are the ones rarely used like webjames # which we don't really have any documentation for in the manual ------------------------------------------------------------------------ [2010-11-15 18:15:10] inithello at gmail dot com 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 this bug report at http://bugs.php.net/bug.php?id=53318&edit=1

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