php script returning status to client in between of executio

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
indi.anupam
Forum Newbie
Posts: 3
Joined: Fri Feb 27, 2009 7:52 am

php script returning status to client in between of executio

Post 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
indi.anupam
Forum Newbie
Posts: 3
Joined: Fri Feb 27, 2009 7:52 am

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

Post by indi.anupam »

no answers yet :(

guys plz help..
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

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

Post by josh »

Use implicit output buffer flushing to cause output to send to the browser as it is outputted
Post Reply