I have a php script it will echo message as "job started" after 60 seconds it will echo back one more message as "job completed". If i run the script in google chrome it will echo first message after 60 seconds it will echo second message. The same script if i run in IE it will echo both messages at a time after 60 seconds. So could anyone please help me to solve this?
I hope information is clear.
job triggered."; echo str_pad('',4096)."\n"; ob_flush(); flush(); sleep(2); } sleep(60); for ($i = 0; $i<1; $i++){ echo "
Job completed"; echo str_pad('',4096)."\n"; ob_flush(); flush(); sleep(2); } } – Mahadeva Feb 11 '14 at 13:46