problem with flush in my webserver
| From: | Sivakumar | Date: | Mon, 07 Jun 2004 10:41:48 +0000 |
| Subject: | problem with flush in my webserver | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-4626@lists.php.net to get a copy of this message | ||
hai,
i've run this code with my server.not worked but while runnint in other
webservers working properly. what problem will be associated with my
webserver. all the configurations are ok.not only for this code given below.
generally flush() is not working.
<?PHP
echo str_repeat(" ", 256);
$i = 10;
while($i > 0){
echo $i." bottle".($i != 1 ? 's' : '')." of beer on the wall,
".$i."
bottle".($i != 1 ? 's' : '')." of beer. Take one down and pass it
around,
".(--$i)." bottle".($i != 1 ? 's' : '')." of beer on the
wall<br>\n";
flush();
sleep(5);
}
?>
with luv
siva