Just take note of
http://www.php.net/manual/en/function.flush.php
"Note: flush() has no effect on the buffering scheme of your webserver or the browser on the client side.
Several servers, especially on Win32, will still buffer the output from your script until it terminates before transmitting the results to the browser."
I run on 2000 with Apache 1.3.20, and this definately is true. It does not flush immediately.