Hi all,<br><br>I am trying to flush content before the end of PHP script. With below script, it works under lighttpd, but not work after changing to nginx. <br><br><?php<br><br>ob_flush();<br>echo "The first line<br />";<br>
flush();<br>sleep(2);<br><br>for ($i=10; $i>0; $i--)<br>{<br> echo $i . "<br />";<br># echo str_repeat(" ",8192);<br> ob_flush();<br> flush();<br> sleep(1);<br>}<br>ob_end_flush();<br>
?><br>