Jump to content

Edit PDF via PHP


alfman05302001

Recommended Posts

So I am reasonably new to PHP, but am finding it an amazing tool that can really make websites useful. I have been browsing the web and have seen that it is possible to generate a PDF from PHP, but is it possible to edit one. I would like to do the following (if it is even possible):

Take an existing registration type document and via a form be able to insert information such as Name, Address, Date of Birth, ect. I would like that information then inserted into both the document (where it can be printed) and a MySQL table for latter use.

Once the PDF is generated i would also use the mail() function then to email out a copy of the form to the people who need record of it.

Like I said I do not even know if this is posible (or if there is a better way to do this), but any information about this would be really helpful.

Thanks

Jonathan
Link to comment
https://forums.phpfreaks.com/topic/9559-edit-pdf-via-php/
Share on other sites

[!--quoteo(post=373316:date=May 13 2006, 06:52 AM:name=alfman05302001)--][div class=\'quotetop\']QUOTE(alfman05302001 @ May 13 2006, 06:52 AM) [snapback]373316[/snapback][/div][div class=\'quotemain\'][!--quotec--]
So I am reasonably new to PHP, but am finding it an amazing tool that can really make websites useful. I have been browsing the web and have seen that it is possible to generate a PDF from PHP, but is it possible to edit one. I would like to do the following (if it is even possible):

Take an existing registration type document and via a form be able to insert information such as Name, Address, Date of Birth, ect. I would like that information then inserted into both the document (where it can be printed) and a MySQL table for latter use.

Once the PDF is generated i would also use the mail() function then to email out a copy of the form to the people who need record of it.

Like I said I do not even know if this is posible (or if there is a better way to do this), but any information about this would be really helpful.

Thanks

Jonathan
[/quote]

Yes Jonathan, there is a class that can modify pdf and it called 'fpdf153'. Just do a google on it and download. I personally haven't use it, but look at the function specification, I believe it can do what you wanted.

If you can not download it, message me and i'll send you a copy.
Link to comment
https://forums.phpfreaks.com/topic/9559-edit-pdf-via-php/#findComment-35352
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.