darkgr33n Posted January 7, 2009 Share Posted January 7, 2009 Hi All I'm trying to find out if its possible to take PHP form data, update the fields on an existing editable PDF with the data [already has dynamic fields] and then email the resulting PDF, pre-populated. I can already take the form data and then open a pre-populated PDF in a browser window for printing, but can I edit the PDF server-side [without it opening on the client], and then attach to an email and send? The scenario is a PHP form [name,address etc], which the customer fills in, and when they submit the form it needs to email to populated PDF to the customer. Any direction welcomed! Thanks Link to comment https://forums.phpfreaks.com/topic/139905-php-form-editable-pdf-email/ Share on other sites More sharing options...
flyhoney Posted January 7, 2009 Share Posted January 7, 2009 Yes, there are several PHP libraries that allow you to read and write PDF. It's kind of tough, but google 'php pdf' and you will find lots of useful code to help you do this. Link to comment https://forums.phpfreaks.com/topic/139905-php-form-editable-pdf-email/#findComment-731952 Share on other sites More sharing options...
savagenoob Posted January 7, 2009 Share Posted January 7, 2009 The best library for this I found was FDF which is an optional extension with PHP 5, just run the setup and install it. I read a good tutorial on it but forgot where, Im sure googling FDF tutorial will work. Link to comment https://forums.phpfreaks.com/topic/139905-php-form-editable-pdf-email/#findComment-731994 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.