PHP output while script is running
Does any know how to show the status os a PHP script while the script is still running.
I only need to make this work using FF. It is a backend script. The script can take several minutes to parse. It is essentially a bot parsing large amount of text and adding results into a database.
Something like this:
Extraction Started.....
then
Looking for matches.....
then
Creating Array.....
then
etc.....
I have played with flush() and ob_flush(). They only show the results after the script is fully completed. I would like the results not necessarily line by line but module by module.
Any Ideas?
|