How to generate a PDF file using PHP or Javascript?
I need to generate a pdf fi开发者_JS百科le by adding pages from an already generated pdf using only php or javascript. I tried fpdf but could not find any appropriate function. Is there a method I could use to do this?
There is an extension that should allow this to work called FPDI
That being said, I've not had a ton of luck through the years using FPDF. I've always fallen back to DomPDF or the likes. Like anything Adobe touches, PDF is not the most friendly tool in the world for those of us charged to make them work.
Try this: http://www.setasign.de/products/pdf-php-solutions/fpdi/
精彩评论