Page 1 of 1

php script returning status to client in between of executio

Posted: Fri Feb 27, 2009 8:00 am
by indi.anupam
Is it possible to return status to client in between the execution of php script?

I was actually automating the blog posting mechanism for my website and was writing a script which pick the agents data from database and post blog (in a predefined format) to my website. The problem is that when it is posting blogs (often >500 / attempt) there is no status report so that I can know what the script has done in a particular movement of execution.

All I have to do is wait until the script finish posting and send a report mail to me with details! :crazy:

-Anupam

Re: php script returning status to client in between of executio

Posted: Sat Feb 28, 2009 2:51 am
by indi.anupam
no answers yet :(

guys plz help..

Re: php script returning status to client in between of executio

Posted: Sat Feb 28, 2009 10:04 pm
by josh
Use implicit output buffer flushing to cause output to send to the browser as it is outputted