Fill a pre-existing PDF with info from database
Posted on 2006-04-24
I'm writing a web based custom replacement for Act for my company. Currently we do a lot of mail merging from Act to Word. I need to duplicate this functionality, and I think using PDF's is going to be the only option.
I've found plenty of info on using PHP to create PDF's but frankly that would take AGES to program all of the PDF's I need. I need PHP to be able to FILL the fields in a PDF that I create in windows.
I've found FPDI, which is close, but not really what's needed. I'm going to take all my word docs, and print them as pdf's. Then I'm going to take adobe designer, or whatever it's called, and add form fields. I need PHP to be able to fill in those fields.
ORRR, I've written my own simple templating system with HTML before, by just using str_replace and a bunch of ##FNAME##, ##LNAME## sections...