I have a page which uses mPDF which when you run displays a PDF in the browser, it can also be saved from here as a PDF no problem. What I would like to happen is when the p
This can be done like this. It worked fine for me. And also set the directory permissions to 777 or 775 if not set.
ob_clean(); $mpdf->Output('directory_name/pdf_file_name.pdf', 'F');