Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
无论如何要显示一些文本,表明 mPDF 脚本仍在生成 PDF?
在运行脚本之前,我尝试做一个简单的 Echo,但它似乎没有显示,或者 mPDF 将其清除或其他东西。
解决方案是启用 mPDF 进度条!里面/mpdf/config.php
/mpdf/config.php
$this->progressBar = 1;// Shows progress-bars whilst generating file 0 off, 1 simple, 2 advanced