i have this letter where in some parts will be filled-up by the user. like this:
I am
<input name="age" type="text">
years old.
is it possible to save the letter into a .pdf file?
i have this letter where in some parts will be filled-up by the user. like this:
I am
<input name="age" type="text">
years old.
is it possible to save the letter into a .pdf file?
Take a look at Zend_Pdf from the Zend_Framework. The good thing about Zend_Framework is that you can add just the parts of it you need. The modules seldom have dependency on each other.
see this - http://stackoverflow.com/questions/624578/dynamically-insert-content-into-pdf-files-with-php
and this - http://stackoverflow.com/questions/560583/which-is-the-best-pdf-library-for-php
I suggest 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.