Okay, yes I do get the same behaviour on RF, whereas locally (Apache 1.3, PHP5, OS X) the script is working correctly. Even more strangely, if we take output buffers out of the equation and run this script:
PHP Code:
for ($i = 0; $i<10; $i++){
echo "<br> Lines to show.";
echo str_pad('',4096)."\n";
sleep(2);
}
echo "Done.";
we get the same behaviour where everything is sent to the browser at the very end of execution rather than as things are echoed.
More investigation is certainly needed, but I wonder if Warren has any ideas?
Bookmarks