Headers are echoed in the page
Posted: Thu Aug 12, 2010 4:44 am
Hi All,
I have a very strange behaviour. I'm sure it is a configuration problem on PHP (4.2.0) or Apache (2.2)-
In all PHP pages the output shown in the browser always include the headers.
For instance
<?php
echo phpinfo() ;
?>
It shows "Content-type: text/html" before the rest of the phpinfo() output.
Please how can I disable this?
Thanks,
Carles.
I have a very strange behaviour. I'm sure it is a configuration problem on PHP (4.2.0) or Apache (2.2)-
In all PHP pages the output shown in the browser always include the headers.
For instance
<?php
echo phpinfo() ;
?>
It shows "Content-type: text/html" before the rest of the phpinfo() output.
Please how can I disable this?
Thanks,
Carles.