Home >Backend Development >PHP Tutorial >PHP实时显示输出_php技巧

PHP实时显示输出_php技巧

WBOY
WBOYOriginal
2016-05-17 09:35:02992browse

//实时显示输出
ob_end_flush();//关闭缓存
//echo str_repeat(" ",256); //ie下 需要先发送256个字节
set_time_limit(0);
for($i=0;$iecho "Now Index is :". $i."
";
flush();
sleep(1);
}

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn