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

PHP实时显示输出

WBOY
Release: 2016-06-13 12:26:33
Original
886 people have browsed it

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

source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template