Output Control
| From: | William CANDILLON | Date: | Wed, 26 May 2004 15:08:13 +0000 |
| Subject: | Output Control | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23846@lists.php.net to get a copy of this message | ||
I want to execute my script in a browser as with the shell mode.
Example:
<?
static $i = 0;
while ($i < 10) {
++$i;
echo "$i\n\n";
sleep(1);
}
?>
I've tried this but it's doesn't work :
<?
static $i = 0;
while ($i < 10) {
++$i;
echo "$i\n\n";
flush();
sleep(1);
}
?>