开发者_高级运维Possible Duplicates:
Convert HTML + CSS to PDF with PHP?
I am working with my new project. I want to generate a new PDF file with the help of PHP code.
How can I do this? Do you any have any ideas?
You can try free libraries like fPdf
FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs.
Look into Zend_PDF from Zend Framework - it allows you to create/manipulate PDFs.
Use Zend_PDF I guess.
Check the documentation here: http://framework.zend.com/manual/en/zend.pdf.html
It's the best PDF generator for PHP IMO.
精彩评论