mPDF无法在托管上创建PDF文件

时间:2016-02-17 13:16:56

标签: php mpdf

我在本地主机上创建PDF可行 enter image description here

但在公共网站上没有,当我打开error_reporting();时 告诉我

Warning: Cannot modify header information - headers already sent by (output started at /data/web/virtuals/115253/virtual/www/pdf/pd/index.php:9) in /data/web/virtuals/115253/virtual/www/pdf/pd/mpdf/mpdf.php on line 8297

Warning: Cannot modify header information - headers already sent by (output started at /data/web/virtuals/115253/virtual/www/pdf/pd/index.php:9) in /data/web/virtuals/115253/virtual/www/pdf/pd/mpdf/mpdf.php on line 1706
mPDF error: Some data has already been output to browser, can't send PDF file

我正在使用mPDF谢谢

0 个答案:

没有答案