header already sent problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 25 Mar 2005 15:03:45 -0000, AndreaD
<andrea.davidson@xxxxxxxxxxxx> wrote:
> is there an alternative way to suppress the headers already sent problem?
> Ob_start/flush is not very neat way to so this.
>
> AD
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
you can set

output_buffering = 4096;

or some value you want in your php.ini file.

Alternatively try to rearrange your code to make sure that you put all
your header() commands BEFORE anything is sent to the browser. Many
CMS out there don't use OB as their code are well written so that
anything to do with header() is before data sent to browser.

HTH

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux