I want this to output '.' as it goes, but some output buffering is taking place and it waits to finish the whole thing before there's any output.
Server runs Apache 2.2.9, no gzip or deflate
php 5.2.6
in php.ini;
output_buffering = Off
implicit_flush = On
Code:
<?php
ob_implicit_flush(true);
ob_end_flush();
$i = 0;
while($i++ < 100)
{
echo '.';
usleep(25000);
if ($i%10==0) echo "\n<br />";
}