Forum Moderators: coopster

Message Too Old, No Replies

Form output

Put $_POST values in a PDF

         

kieftrav

4:53 am on Oct 3, 2006 (gmt 0)

10+ Year Member



Hello all!

I'm looking to have some kind of output be made from my html form $_POST array that will allow the information emailed to the submitee in an uneditable form (potentially PDF.) Does anyone have any ideas how to get this done and if there is some way to do it? I want it to be as easy as possible and I want the output form to have a bit of a professional look to it... Any suggestions are greatly appreciated!

Thanks,
Travis

P.S. I checked out the recent post of "On the fly PDF's", but I am curious if there are other, more effective, solutions. Thanks!

coopster

9:11 pm on Oct 12, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Even a PDF document is editable with the right tools. I suppose you could try an image, but then again we see a lot of fancy image editing being done nowadays too. Why the concern about somebody editing?

ahmedtheking

9:22 pm on Oct 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There is a way, but it's long... First you need to install PDFlib. To make things easier, the people at PEAR have made this:

[pear.php.net...]

Just to reiterate coopster said: why PDF?

kieftrav

12:45 am on Oct 14, 2006 (gmt 0)

10+ Year Member



Thanks for the posts! I appreciate it. The reason why they have to be basically uneditable is because they are to represent actual forms that we use on paper. It lets the user know how it looks after they complete the html form that submits their data to a database. PDF seemed the most convenient.

Thanks again,
Travis