alfman05302001 Posted May 12, 2006 Share Posted May 12, 2006 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.ThanksJonathan Quote Link to comment Share on other sites More sharing options...
hvle Posted May 13, 2006 Share Posted May 13, 2006 [!--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.ThanksJonathan[/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. Quote Link to comment Share on other sites More sharing options...
alfman05302001 Posted May 13, 2006 Author Share Posted May 13, 2006 I did some searching around on the web, but could not find any examples where an existing PDF was being edited with text that was being inputed via a form? I plan on continuing to look, but if anyone knows anything it would help.ThanksJonathan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.