Re: output buffer

From: Date: Tue, 29 Dec 2009 21:38:28 +0000
Subject: Re: output buffer
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-300733@lists.php.net to get a copy of this message
On Tue, Dec 29, 2009 at 4:09 PM, Marc Fromm <Marc.Fromm@wwu.edu> 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

« previous php.general (#300733) next »