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
> 

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

Reply via email to