Christer Christer - 14 days ago 8
PHP Question

Display "Generating..." text while mPDF generates file

Is there anyway to display some text, indicating that the mPDF script is still working on generating the PDF?

I tried to do a simple Echo before i run the script, but it seems like it doesnt show, or mPDF clears it out or something.


The solution is to enable mPDF progress bars! inside /mpdf/config.php

$this->progressBar = 1;// Shows progress-bars whilst generating file 0 off, 1 simple, 2 advanced