Re: Show output of program in realtime on website
| From: | Brad Hubbard | Date: | Wed, 10 Jan 2001 11:50:15 +0000 |
| Subject: | Re: Show output of program in realtime on website | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33649@lists.php.net to get a copy of this message | ||
I've seen this done with some CGI (not PHP) programs like online traceroutes
and things.
Is there something you can do with a CGI lib that facilitates this?
Cheers,
Brad
----- Original Message -----
From: "Christian Reiniger" <creinig@mayn.de>
To: "Stefan Scherf" <scherf@ventasoft.de>
Cc: <php-general@lists.php.net>
Sent: Wednesday, January 10, 2001 22:21
Subject: Re: [PHP] Show output of program in realtime on website
On Wednesday 10 January 2001 00:08, Stefan Scherf wrote:
> the program "main" produces x times an output with an delay of 1 second
> between each output.
>
> I want to show this output in "realtime" on a website (this should
> become a progress-bar).
> Does anybody know how to realise this?
Write a custom browser for this and tell all your visitors to use it.
Seriously - you can't control how the browsers buffer the received data,
when they render it etc.
That said - make sure that PHP output buffering is off
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Those who will not reason, are bigots,
those who cannot, are fools,
and those who dare not, are slaves.
- George Gordon Noel Byron (1788-1824), [Lord Byron]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net