PHP output buffering callback yielding blank screen

前端 未结 1 635
野的像风
野的像风 2021-01-28 09:07

Here is the code:

 ob_start(array(&$dispatcher, \'outputCallback\')); 
 include($file);
 ob_end_flush();

 function outputCallback($string) {
    if(ob_get_l         


        
相关标签:
1条回答
  • 2021-01-28 09:30

    Have you tried checking your web server's error log to see if PHP is throwing an error? That should help you identify the cause of the problem.

    0 讨论(0)
提交回复
热议问题