Methods ob_start and ob_flush don't work, why?

前端 未结 7 1111
时光取名叫无心
时光取名叫无心 2020-12-29 11:49

I am using ob_start()/ob_flush() to, hopefully, give me some progress during a long import operation.

Here is a simple outline of what I\'m

7条回答
  •  天命终不由人
    2020-12-29 12:17

    Make sure that your output buffering doesn't start automatically. Run:

    print ob_get_level ();
    

    before ob_start (); if will will see something else then 0 you've got the answer.

提交回复
热议问题