douke6027 2015-03-27 00:03
浏览 30

加载大数据Chrome无法在同一域下刷新或访问

I use curl inside loop and use flush output buffering data.
Below code in Safari it is fine, but when I test in Chrome and Opera the flush output buffering data works,
but if the printed data contain anchor tag that can't be click, and also under same domain the browser can't visit.
Does anyone know why and how to solve it?

Edit:
1. I did check browser debugger the anchor tag already print.
2. The same browser another window still can visit other domain/website, only freeze under this domain, seems need to wait all loaded or quit the application.
3. Same time user another browser visit same domain it is fine.

ob_implicit_flush(true);
ob_end_flush();
foreach ($data as $eachData) {
  // curl
  foreach (.. as ..) {
    // curl 

    // ouput data
    echo '<a href="..">link</a>';
  }
}
ob_flush();
flush();
sleep(1);
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
    • ¥16 mybatis的代理对象无法通过@Autowired装填
    • ¥15 可见光定位matlab仿真
    • ¥15 arduino 四自由度机械臂
    • ¥15 wordpress 产品图片 GIF 没法显示
    • ¥15 求三国群英传pl国战时间的修改方法
    • ¥15 matlab代码代写,需写出详细代码,代价私
    • ¥15 ROS系统搭建请教(跨境电商用途)
    • ¥15 AIC3204的示例代码有吗,想用AIC3204测量血氧,找不到相关的代码。
    • ¥20 CST怎么把天线放在座椅环境中并仿真