PHP - How to use mPDF to merge PDFs
问题 I will start out by saying that I can generate PDFs just fine with mPDF, but for the life of me, I can't get it to merge an existing PDF with the PDF it just generated. What I need to figure out is how to append/add the existing PDF to the newly generated PDF. I've tried using the mPDF methods for importing pages, but all I can get is an error like: mPDF error: Cannot open '/downloads/test.pdf'. The above message is ambiguous and unclear as to WHY it can't open the file... Here's the code I'm