Re: progress bar
| From: | lallous | Date: | Mon, 12 Aug 2002 13:11:37 +0000 |
| Subject: | Re: progress bar | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112117@lists.php.net to get a copy of this message | ||
I agree with the flush() solution.
In addition, output a javascript code to update the display in the
browser...
for example:
<script>documeny.theform.progressPercent.value++</script>
Elias
"Tom Kohnen" <tom.kohnen@victor-buck.com> wrote in message
news:NGEIILKCNJPBNAEOFAGKAEENCAAA.tom.kohnen@victor-buck.com...
> Hi!
> Well i suppose flush() is useful in your case, flush out the output
whenever
> it is called, and not when the page is fully generated (the usual case)!
> Sou you might to sth like this:
>
> - Print 1/4 of the progress bar
> - flush
> - wait some time
> - print 2/4 of the progress bar
> - flush
> ....
>
> i don't know if it works, but that's the way it'd do it ;)
>
> - Tom
>
> -----Original Message-----
> From: Serdar Sokmen [mailto:ssn@elca.ch]
> Sent: Monday, August 12, 2002 12:06 PM
> To: php-general@lists.php.net
> Subject: [PHP] progress bar
>
>
> Hi,
>
> I would like to add a progress bar to an installtion program I'm writing
in
> PHP. I basically have one function that I call, it takes about 30 seconds
or
> so to finish executing... I haven't done such a thing before. Can anyone
> plese suggest me some ideas...
>
> Many Thanks
>
> Serdar
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>