Re: note 8051 added to sleep
| From: | Hartmut Holzgraefe | Date: | Fri, 25 Aug 2000 10:32:26 +0000 |
| Subject: | Re: note 8051 added to sleep | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-3225@lists.php.net to get a copy of this message | ||
ks@ksweb.de wrote:
>
> it doesn't work! not on 3.0.16 and 4.0.2 dev, not online nor local (WAMP)
> <?
> $t="This is a silly text!<br>";
> print $t;
> flush();flush();flush();flush(); //nothing happens! not even you send thausands of flush()
> sleep(25); //after 25 seconds you'll see both lines at once
> echo $t;
> ?>
it definetly works for the php part, but further output buffering
may happen down the way in webservers, proxies or browsers
theese are beyond the control of the php engine
to see it work try php cgi version on command line for example
--
Hartmut Holzgraefe
hartmut@six.de http://www.six.de +49-711-99091-77 fax:-99