Mike Zornek wrote:
I wrote an importer script in PHP that outputs the percentage of items
finished in 5% chunks. When I run the script however (web or command
line) I don¹t get incremental output .. I get it all in one fell
swoop.
I have a feeling PHP is buffering it or something. It there
* Thus wrote Mike Zornek ([EMAIL PROTECTED]):
I wrote an importer script in PHP that outputs the percentage of items
finished in 5% chunks. When I run the script however (web or command line) I
don¹t get incremental output .. I get it all in one fell swoop.
I have a feeling PHP is buffering
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
* Thus wrote Michael Sims ([EMAIL PROTECTED]):
Curt Zirzow wrote:
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
On 6/8/04 11:15 AM, Michael Sims [EMAIL PROTECTED] wrote:
Try calling ob_end_flush() at the top of your script. Although I believe some
browsers will still buffer a portion of the output before displaying. But if
you're
running from the command line it should display in real time.
I did
5 matches
Mail list logo