Home: Other Programming Languages: PHP:
How to flush buffer output in PHP?



Anonymous
Anonymous

Apr 9, 2002, 6:33 AM


Views: 42757
How to flush buffer output in PHP?

I know that in ASP you have control on you output buffer when printing to screen. Are there similar controls for PHP? I'm doing a script which does a LOT of processing and outputs results line by line, so I want each line printed as it is processed and not wait for the print buffer to fill. That way, if the script crashes or something goes wrong, I'll know where it stopped. Thanks!


Anonymous
Anonymous

Apr 9, 2002, 6:49 AM


Views: 42755
Re: [Anonymous] How to flush buffer output in PHP?

Ok, I found what I was looking for on php.net... Thanks anyway!


freddo
User

Apr 13, 2002, 10:31 AM


Views: 42750
Re: [Anonymous] How to flush buffer output in PHP?

Hello Anon,

May be you should get a look on this.

I hope this helps.
;---