How to disable output buffer per script
| From: | Mike Zornek | Date: | Tue, 08 Jun 2004 14:56:10 +0000 |
| Subject: | How to disable output buffer per script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-187882@lists.php.net to get a copy of this message | ||
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 any command I
can use to disable such buffering for just this script so I can see some
useful feedback. Thanks!
~ Mike
-----
Mike Zornek
Web Designer, Media Developer, Programmer and Geek
Personal site: <http://MikeZornek.com>