English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

with php how can i get this pdf http://www.irs.gov/pub/irs-pdf/fw4.pdf populte data dynamically in its text or checkbox fields.

i knwo this is possible with asp.net but how can it be done in php, and so that the data is loaded from mysql.

thanks

2007-11-16 05:07:46 · 2 answers · asked by sarmenhbb 1 in Computers & Internet Programming & Design

2 answers

There is a library called Acrostix that lets you do that rather easily:

http://chernyshevsky.blogspot.com/2006/01/introduction-to-acrostix.html

__________

2007-11-16 11:56:07 · answer #1 · answered by NC 7 · 1 0

I thought there was a php module (non standard so it's probably not on most hosting packages) that edits pdf.

An easier way is to populate each field with some unique token ~fname~, ~lname~, ~SSN~ etc. and use basic file io and replacestring functions. Just make sure to open the file as binary, not ascii.

2007-11-17 11:30:36 · answer #2 · answered by Dan 5 · 0 0

fedest.com, questions and answers