RE: [PHP] progress bar
| From: | Tom Kohnen | Date: | Mon, 12 Aug 2002 11:15:00 +0000 |
| Subject: | RE: [PHP] progress bar | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112114@lists.php.net to get a copy of this message | ||
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