PHP Flush/ob_flush not working

前端 未结 7 2269
情深已故
情深已故 2020-11-27 07:03

I\'ve tried several attempts at getting my flush and ob_flush to work. I\'ve tried setting the ini to allow buffering, I\'ve tried using several different functions I found

7条回答
  •  遥遥无期
    2020-11-27 07:12

    I have had the same problem but a user pointed me out in the right direction, I used a "for" loop to solve this browser specific issue:

    for($i = 0; $i < 5000; $i++)
    {
        echo ' ';
    }
    

    Relate to Outputting exec() ping result progressively for more details.

提交回复
热议问题