ID: 32424
Updated by: sniper@php.net
Reported By: tommythekid at mac dot com
-Status: Open
+Status: Feedback
Bug Type: iPlanet related
Operating System: Solaris 9 SPARC
PHP Version: 5.0.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-03-23 10:34:53] tommythekid at mac dot com
Description:
------------
no output is sent after calling ob_flush() after sending headers. This
problem appears to be NSAPI related. Removing the first ob_flush() from
the code produces the expected results.
Reproduce code:
---------------
while (ob_end_clean());
ob_start();
header("X-Foo: BAR");
ob_flush();
flush();
echo "PRE\n\n";
ob_flush();
flush();
echo "POST\n\n";
ob_flush();
flush();
Expected result:
----------------
HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Wed, 23 Mar 2005 09:31:45 GMT
Content-type: text/html
X-powered-by: PHP/5.0.3
X-foo: BAR
Connection: close
PRE
POST
Actual result:
--------------
HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Wed, 23 Mar 2005 09:24:38 GMT
Content-type: text/html
X-powered-by: PHP/5.0.3
X-foo: BAR
Connection: close
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32424&edit=1