Re: Output_Buffer problem

From: Date: Sun, 13 Nov 2005 22:53:19 +0000
Subject: Re: Output_Buffer problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-225707@lists.php.net to get a copy of this message
The documentation[1] lists output_buffering as changeable PERDIR. This means you can't set it in the file. Instead you should look into setting it in the apache .htaccess file. 1: http://php.net/manual/en/ref.outcontrol.php Todd Cary wrote: > My client has switched to a shared server, so direct access to the > php.ini is not availble. Our calendar program expects to have > output_buffering set to On ("1"). > > Currently, I get the expected error of > > Warning: Cannot modify header information - headers already sent by > (output started at > /home/content/s/f/y/sfycadmin/html/php/calendar/private/ltw_config.php:375) > in > /home/content/s/f/y/sfycadmin/html/php/calendar/private/ltwdisplaymonth.php > on line 283 > > At the top of ltwdisplaymonth.php, I tried ini_set(output_buffering, > "1"), but that does not appear to have an effect. > > Have I missed something? > > Todd >

« previous php.general (#225707) next »