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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.