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...

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ad7c5748-18cc-4cec-b4a1-4a5310b50711%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine] P... Alex Kerr

Reply via email to