PDF - replace text in template
Posted: Tue Aug 22, 2006 11:37 am
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
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