0

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?

RichardOD
  • 28,883
  • 9
  • 61
  • 81
noob
  • 4,699
  • 10
  • 33
  • 32
  • 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 – Arpit Tambi Sep 09 '09 at 17:47

4 Answers4

1

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.

PatrikAkerstrand
  • 45,315
  • 11
  • 79
  • 94
1

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.
Thinker
  • 14,234
  • 9
  • 40
  • 55
0

This post suggests using Prince XML.

Community
  • 1
  • 1
Mark P Neyer
  • 1,009
  • 2
  • 8
  • 19
0

You can find an article that describes the process here.

Vincent Ramdhanie
  • 102,349
  • 23
  • 137
  • 192