Hi,
I'm a newbie and i have a problem with this php script
the script is:
<?php
$number=0;
while ($number<10)
{
echo"<br>$number";
sleep(1);
$number++;
}
?>
but when i execute the script, the php will wait for a while then display all 0-9 altogether
i'm using freebsd 4.11
apache 2
php 4.1.7
but when i execute the script in different machine (linux), it displays 0 <pause for 1 sec> 2 <pause for 1 sec> 3 ......
what is wrong with the server anyone can help me? is there any specific configuration?
thanks in advance for your help