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]
|