开发者

How to create a PDF file with PHP? [duplicate]

开发者 https://www.devze.com 2023-02-03 14:39 出处:网络
This question already has answers here: Closed 12 years ago. 开发者_高级运维 Possible Duplicates:
This question already has answers here: Closed 12 years ago.
开发者_高级运维

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消