How to get partial output when script is executing?

前端 未结 3 689
长情又很酷
长情又很酷 2020-12-10 17:31

Description:

I have a script which do multiple actions in longer time. In standard situation output from PHP script is sent after full execution of this script. Use

3条回答
  •  没有蜡笔的小新
    2020-12-10 17:50

    Try calling in every loop ob_flush and ob_clean. The first one send the output buffer and the second one erase it.

提交回复
热议问题