I have some data in a text area and there is a link 'create PDF'. When a user click 'create PDF' link, the data should be printed on an PDF and download window of browser should appear to download that PDF. Any Idea ?
开发者_运维问答Thanks
Hmm... Zend and PDF.
Maybe Zend_PDF is the thing for you? :)
The Zend_Pdf component is a PDF (Portable Document Format) manipulation engine. It can load, create, modify and save documents. Thus it can help any PHP application dynamically create PDF documents by modifying existing documents or generating new ones from scratch.
Use Zend PDF class (tutorial) and POST data.
精彩评论