|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-04-23 16:13 UTC] [email protected]
[2009-04-24 08:37 UTC] mortals at seznam dot cz
[2009-04-24 11:53 UTC] [email protected]
[2009-04-24 13:00 UTC] mortals at seznam dot cz
[2009-04-24 13:38 UTC] [email protected]
[2009-04-27 09:05 UTC] mortals at seznam dot cz
[2009-04-27 15:24 UTC] [email protected]
[2009-04-28 12:12 UTC] mortals at seznam dot cz
[2009-04-28 17:52 UTC] [email protected]
[2009-04-29 10:21 UTC] mortals at seznam dot cz
[2009-04-30 08:47 UTC] [email protected]
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Jan 02 20:00:01 2026 UTC |
Description: ------------ no headers sent if output is blank on 64bit system (for example redirection dont work). 5.2.9 on 32bit servers is ok. Reproduce code: --------------- <? $test = 0; ?> or <? header('HTTP/1.1 301 Moved Permanently'); header('Location: http://www.example.com'); ?> Expected result: ---------------- telnet example.com 80 GET /test.php HTTP/1.1 Host: example.com HTTP/1.1 200 OK Date: Wed, 22 Apr 2009 09:23:11 GMT Server: Apache Cache-Control: max-age=7200 Expires: Wed, 22 Apr 2009 11:23:11 GMT Content-Length: 0 Content-Type: text/html Connection closed by foreign host. Actual result: -------------- telnet example.com 80 GET /test.php HTTP/1.1 Host: example.com Connection closed by foreign host.