I've always had problems with this and never seemed to come across an answer. I use php a lot to parse huge files into our databases. Sometimes the script will have to run up to 15 minutes. I usually put print statments inside the loops to give an update of where the script is but sometimes it takes them forever to actually be sent to the client.
I've tried output buffering and sending ob_flush() after every print statement but this still doesn't do it. Even the print statement at the begining of the script doesn't show up for a while.. sometimes its 30 seconds.. sometimes its 2 minutes.. sometimes it waits until the script has finished. Am I missing a buffer somewhere?
-Dustin
Rom 8:28
I've tried output buffering and sending ob_flush() after every print statement but this still doesn't do it. Even the print statement at the begining of the script doesn't show up for a while.. sometimes its 30 seconds.. sometimes its 2 minutes.. sometimes it waits until the script has finished. Am I missing a buffer somewhere?
-Dustin
Rom 8:28