U dokumentaciji piše
Citat:
flush() has no effect on the buffering scheme of your webserver or the browser on the client side. Thus you need to call both ob_flush() and flush() to flush the output buffers.
|
Tako da ovo radi
PHP kôd:
<?php
$ekhm = 0;
for (;;)
{
sleep (1);
echo ++$ekhm . "<br />\r\n";
ob_flush ();
flush();
}
?>