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,399
  • 8
  • 58
  • 78
noob
  • 4,399
  • 10
  • 31
  • 31
  • 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
  • 44,619
  • 11
  • 77
  • 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
  • 13,722
  • 8
  • 39
  • 52
0

This post suggests using Prince XML.

Community
  • 1
  • 1
Mark P Neyer
  • 1,011
  • 1
  • 8
  • 19
0

You can find an article that describes the process here.

Vincent Ramdhanie
  • 100,586
  • 22
  • 140
  • 187