Re: Progress indicators on a page...?

On Tue, 20 Jun 2006 13:07:13 +0000, no wrote:
I have a PHP script that updates a very large table and in the code I echo
some text to show the progress of the update but the text only appears
when the page has finished displaying.

Is there any way (through html headers?) to force the page to update in
real time, while the PHP script is still executing?

I'd say go with AJAX. It's really not hard to learn, and as it's a
non-essential function if people don't have it, they can do without.

You could then provide an estimate of the time to completion (using number
of rows complete, number to be completed and number completed in last



Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer | PHP editor for Gnome 2 | Personal site and photos