Curt Zirzow wrote:
>> I have a feeling PHP is buffering it or something. It there any
>> command I can use to disable such buffering for just this script so
>> I can see some useful feedback. Thanks!
>
> Use this at the top of the script:
>   ini_set('output_buffer', 0);

The "output_buffering" setting cannot be controlled via ini_set(), at least
according to the manual.  I want to say that I confirmed this a long time ago but I
can't recall for sure.

> Or, as I usually set up for my cli environment (since they ususally
> desire no buffering), create a php-cli.ini file that has
> output_buffering turned off.

That's a good idea.  But to do it on a per script basis (where it's undesirable to
alter the global buffering setting) I think the only way is to call ob_end_flush()
at the top of the script...

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

Reply via email to