#31183 [Fbk->NoF]: exit status 128 when printing something before header()
ID: 31183
Updated by: sniper@php.net
Reported By: marco-glatz at web dot de
-Status: Feedback
+Status: No Feedback
Bug Type: Apache2 related
Operating System: WinXP
PHP Version: 5.0.2
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2005-01-18 14:03:00] jorton@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.0-win32-latest.zip
Can't reproduce with 5.0.4-dev here, can you try 5.0.3 or a CVS
snapshot of 5.0?
...
string(2) "de"
<br />
<b>Warning</b>: Cannot modify header information - headers already
sent by (output started at
------------------------------------------------------------------------
[2004-12-19 01:14:55] marco-glatz at web dot de
Description:
------------
when i print for example some debugging-informations before i call the
header()-function apache says:
Parent: child process exited with status 128 -- Restarting.
Reproduce code:
---------------
$language = 'de';
$charset = 'iso-8859-1';
var_dump($language);
header('Content-language: '. $language);
header('Content-type: text/html; charset='. $charset);
Expected result:
----------------
something like "cannot send headers, output already started at ...."
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31183&edit=1
Thread (3 messages)