RE: [PHP-WIN] sleep() & flush()
| From: | alain samoun | Date: | Fri, 25 Aug 2000 15:38:05 +0000 |
| Subject: | RE: [PHP-WIN] sleep() & flush() | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2161@lists.php.net to get a copy of this message | ||
Nothing wrong, works for me with and without flush(es) on 4.02DEV CGI Apache
localhost
Message from Alain Samoun
alain@samoun.com
-----Original Message-----
From: 1193-639-1 [mailto:ks@ksweb.de]
Sent: Friday, August 25, 2000 1:35 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] sleep() & flush()
this snip will not work: nor with 3.0.16 or 4.0.2 dev
not online nor local!
what's wrong eh?
<?
$t="This is a silly text!\n<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;
?>
PHP = Paranoid Heuristic Professor?
:-)
Klaus
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net