For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > May 2006 > #37283 [Ana->Csd]: headers_list example produced with buggy Apache2 SAPI









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #37283 [Ana->Csd]: headers_list example produced with buggy Apache2 SAPI
colder@php.net

2006-05-03, 7:58 am

ID: 37283
Updated by: colder@php.net
Reported By: mike@php.net
-Status: Analyzed
+Status: Closed
Bug Type: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
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.

Thanks for the patch!


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

[2006-05-02 21:30:50] bjori@php.net

Updated, sorry ;)

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

[2006-05-02 21:25:36] nlopess@php.net

of course ;)

But this one isn't good surely (the string lenght):
- string(12) "X-Powered-By"
+ string(12) "X-Powered-By: PHP/5.1.3"

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

[2006-05-02 21:23:22] bjori@php.net

Patches are always welcomed, no matter how small they are.

http://php.is/bugs/phpdoc/phpdoc.headers-list.patch.txt

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

[2006-05-02 20:08:19] mike@php.net

Description:
------------
Since PHP-5.1.3 a bug in the Apache2 SAPI, which procuded truncated
headers (just right where the colon should be), was fixed.

Please update the example result for the headers_list function, which
apparently has been generated with Apache2.


Reproduce code:
---------------
$ sapi/cgi/php <<< '<?php print_r(headers_list());'




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


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







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com