Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Sep 2002
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Outputing a form to a document image or acrobat type

    Hello all, I'm still new at php, but wanted to know if this is possible to do in php, or does it need a 3rd party software.

    I have a actual paper form for people to apply for a Bowling league, but I want to make a web form, and upon entering the info in all the fields, the user clicks submit, which takes it to the next page of an image of the actual form, with all the fields populated with the data entered. Of course, that data would also be stored into a database.

    (e.g. the user entered name, address, phone, etc. the output result is an actual image of the paper application form (scanned jpg or tif, etc), but all the areas are populated with the data of name, address, phone, etc.). The user can then print this form, and avoid using a pen to write in all the data.

    Is this possible / hard to do with php, or do I need a 3rd party software? Any help / direction would be greatly appreciated.

    Thanks

    Eric

  • #2
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,059
    Thanks
    2
    Thanked 317 Times in 309 Posts
    You can do this using the GD image library functions to place the text on specific areas of the image. But, why not just accept a print out of a web page with the data displayed on it instead of needing something that looks like it is a scan of the current paper form?
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.

  • #3
    New to the CF scene
    Join Date
    Jan 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hye.. regarding this... if we print the report via the browser, the address of that page will be displayed on the printed pages right? how to print out that like we print using 3rd party softwares? e.g pdf .


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •