I search a way to refresh display more often on a long script.
I.e. :
for($i=0;$i<=100000;$i++) {
<!--
some long process code
-->
echo 'content:'.$i.' - ';
}
I launch it on Chrome. Currently, echo data appeared every 30 seconds. I would like a shorter delay for the refreshing echo display.
Thanks for your time.
To push script’s output to the browser call
flush()periodically, i.e:also check your output buffering settings