<?php
header('content="no-cache');
ob_implicit_flush(true);
print str_repeat(" ", 4096);
for($i=0;$i<=10;$i++){
echo '<e></e>'.$i;
ob_flush();
flush();
sleep(1);
clearstatcache();
}
?>
以上代碼在opera中不能每秒輸出$i
是否opera不支援flush();

?
« 上次編輯: 2009-09-27 10:29 由 neverwinter »

記錄