You are here: Re: Loading progress bar « PHP Programming Language « IT news, forums, messages
Re: Loading progress bar

Posted by petersprc on 10/31/06 02:39

Hi,

You could redirect using javascript. For example:

echo '<script type="text/javascript">window.location =
\'done.php\'</script>';

An image would work. Javascript progress meters are available too:

http://www.dynamicdrive.com/dynamicindex11/xpprogressbar.htm
http://www.dynamicdrive.com/dynamicindex11/dhtmlprogress2.htm

AJAX upload progress meter in PHP:

http://wiki.bluga.net/HTML_AJAX/ProgressMeter

Hope that's helpful.

Aggelos wrote:
> Hello I am doing sevreral scripts like sending a newsletter that might
> take a while to finish first to prevent the browser from timing out and
> to keep the user informed of the process progress I want to use a
> loader progress bar. I did a plain expanding gif but the problem is
> that it prevents me at the end from redirecting.
>
> Do you have in mind any nice script that might do that? AJAX would be a
> good solution. Or something that will pop up... I don't know what to
> think. It is the first time I am doing that.
> The progress depends on the loop progress ... so a simple counter and
> count(array) would be enough variables to create something.
>
> If you've done something similar you'll know what I am talking about.
> Thanks

Aggelos wrote:
> Hello I am doing sevreral scripts like sending a newsletter that might
> take a while to finish first to prevent the browser from timing out and
> to keep the user informed of the process progress I want to use a
> loader progress bar. I did a plain expanding gif but the problem is
> that it prevents me at the end from redirecting.
>
> Do you have in mind any nice script that might do that? AJAX would be a
> good solution. Or something that will pop up... I don't know what to
> think. It is the first time I am doing that.
> The progress depends on the loop progress ... so a simple counter and
> count(array) would be enough variables to create something.
>
> If you've done something similar you'll know what I am talking about.
> Thanks

 

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

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