DOMPDF: Unable to stream pdf: headers already sent

后端 未结 10 2303
夕颜
夕颜 2020-12-18 06:45

This question has been raised hundred of times in various fora; some have been solved, some not. I checked plenty of resources, but my issue could not be resolved. I am gene

10条回答
  •  一个人的身影
    2020-12-18 07:15

    simple solution :

    write below lines before stream, it will show where exactly new line or space is coming

    $f;
    $l;
    if(headers_sent($f,$l))
    {
        echo $f,'
    ',$l,'
    '; die('now detect line'); }

提交回复
热议问题