WDlinux官方论坛's Archiver

1182253260 发表于 2014-12-23 23:40

环境 nginx+apache【 flush();无效果】

[b]环境 nginx+apache【 flush();无效果】[/b]
[b]
测试代码如下[/b]:[code]<?php
ob_end_clean();
echo str_repeat(' ',4069);
set_time_limit(0);
for($i=0;$i<10;$i++){
echo "Now Index is :". $i."<br>";
ob_flush();
flush();
sleep(1);
}
?>[/code]

66eagle 发表于 2018-8-29 14:28

是呀。 怎么设定呢。 组合时

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.