Page 1 of 1

PDF - replace text in template

Posted: Tue Aug 22, 2006 11:37 am
by batfastad
Hi guys

I've started playing around with FPDF but I'm not sure if I can get it to do what I'm looking for.

I have a PDF file which is a template and I'm looking for a way to output my data by replacing the contents of certain placeholders in the PDF with PHP variables.

Is this possible?

Does anyone have any examples of find / replace from existing PDF documents with PHP?

I've managed to find plenty of information on how to generate a complete PDF, but not managed to dig up anything with working with existing PDF files.

Any ideas?

Thanks

Ben

Posted: Wed Aug 23, 2006 6:04 pm
by Ollie Saunders
Can I just say I love your avatar and your display name.

I've never done PDFs with PHP but here is a good place to start.