You are here: Re: Progress indicators on a page...? « PHP Programming Language « IT news, forums, messages
Re: Progress indicators on a page...?

Posted by Andy Jeffries on 06/20/06 15:49

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
second).

Cheers,


Andy

--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация