Re: Loading progress bar
- From: petersprc@xxxxxxxxx
- Date: 30 Oct 2006 18:39:44 -0800
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
.
- Follow-Ups:
- Re: Loading progress bar
- From: Aggelos
- Re: Loading progress bar
- References:
- Loading progress bar
- From: Aggelos
- Loading progress bar
- Prev by Date: Re: Can no connects to mySQL database
- Next by Date: Re: Loading progress bar
- Previous by thread: Loading progress bar
- Next by thread: Re: Loading progress bar
- Index(es):
Relevant Pages
|