I've got a long running PHP script which does some processing and should be outputting text to the browser occasionally during it's runtime but it just seems to stack all the output up and display it at the end. I'm using ob_start(), ob_flush() and ob_end_flush so PHP definitely should be sending output to the webserver which I'm guessing is buffering it all. Is there an way to stop this from happening and just see the output during the script run?
Psuedocode is:
ob_start();
while(more-processing-to-do)
{
// do some processing
echo "Still processing<br>";
ob_flush();
}
ob_end_flush();
This is specifically for the dev server, I haven't been able to try online yet...