Re: output buffer

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

 



On Tue, Dec 29, 2009 at 4:09 PM, Marc Fromm <Marc.Fromm@xxxxxxx> wrote:
> I am receiving the "Cannot send session cookie - headers already sent" message even though I am using ob_start() at the top of my script.
> The php.ini file has output_buffering set to 4096 4096.
> My server is running Red Hat Enterprise Linux 5.2
> I am using PHP 5.1.6
>
> Is there some other setting I need to adjust to be able to start a session within the php script?
>
> Thanks
>
> Marc
>
>

Check that you don't have white space in your include files. One trick
there is to remove the closing PHP tags '?>' to avoid this problem

-- 

Bastien

Cat, the other other white meat

-- 
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