Posted by Rik on 03/10/07 13:51
Neale O <flanders@simpsons.com> wrote:
> I need to perform some maintenance on local files stored on a webserver
> and wanted the PHP script to display the filenames as it goes (Rather
> than showing the page right at the end when everything is done).
>
> Can I get PHP to return a page a bit at a time every time an echo()
> occurs?
>
> Hand-holding not required! If someone can point me in the direction of a
> function or page in the manual I'm sure I'll pick it up. I've Googled a
> bit but without knowing what terms to use I'm a little lost.
http://www.php.net/flush
http://www.php.net/ob_flush
Keep in mind that if the server (usually Apache) caches the output itself,
you'll have to convince that server to send it. Most configurations I'm
familiar with will have not trouble though
--
Rik Wasmus
Posted on Usenet, not any forum you might see this in.
Ask Smart Questions: http://tinyurl.com/anel
Navigation:
[Reply to this message]
|