Sending output a bit at a time

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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.

Thanks all!

Re: Sending output a bit at a time

Quoted text here. Click to load it

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:

Site Timeline