Home  >  Article  >  php教程  >  PHP实时显示输出

PHP实时显示输出

WBOY
WBOYOriginal
2016-06-13 12:26:33855browse

//实时显示输出
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