Re: Re: Re: [PHP] Working with an existing PDF doc

2006-09-02 Thread Silent1
I believe the id or name of the html elements must match the name of each field in the pdf. On monday, at work, i'll go over my code to see for sure. But i'm sure the name of each html element matches the field in the html form. The names of the fields in the pdf can be anything you like, i used

Re: Re: [PHP] Working with an existing PDF doc

2006-09-01 Thread Silent1
Sorry, i was at work but the example i followed is located here. http://www.accesspdf.com/article.php/20050510131850979 Once you have pdftk compiled/setup this script in the example will pass the post/get data to the pdf to each field you setup in the pdf. If need be, i can send you the php i've

Re: [PHP] Working with an existing PDF doc

2006-09-01 Thread Silent1
I actually just finished messing around with something like this. Basically the task was to have a form where users would input stuff and that needs to be autofilled into a pdf (already created). I used pdftk (http://www.accesspdf.com/pdftk/) and a php script called (forge_fdf http://www.pdfhacks.

Re: [PHP] Working with an existing PDF doc

2006-09-01 Thread Frank Arensmeier
Tedd, this issue has been discussed recently on the PDFlib mailing list. Search for the topic "search & replace on PDF". Archive is here: http://groups.yahoo.com/group/pdflib/ regards, /frank 1 sep 2006 kl. 16.33 skrev tedd: You seem to use FPDF. Although I never tried working with FPDF,

Re: [PHP] Working with an existing PDF doc

2006-09-01 Thread Frank Arensmeier
You seem to use FPDF. Although I never tried working with FPDF, you might take a look at http://fpdi.setasign.de/ which is a class that extends FPDF. If you are looking for a library with support for all PDF features, maybe PDFlib (http://www.pdflib.com) is the one for you (sure, PDFlib/ P