Results 1 to 10 of 10

Thread: Printing in PHP

  1. #1

    Question Printing in PHP

    Hi, i am relativly new to php.

    I am trying to create a form on my website that people can use to apply for a job. However, because of security reasons i dont want it sent over the internet. Instead i would like them to fill out the form and print it out straight away. Is this possible?

    I would appreciate any suggestions

    Many thanks

  2. #2
    Join Date
    Dec 2000
    Location
    Dublin, Ireland
    Posts
    39
    Do you know how to get the results to appear on the page after submitting the form?

    You normally use
    PHP Code:
    $_POST['$input']; 
    or
    PHP Code:
    $_GET['$input']; 
    Then use javascript to call the print command - http://www.htmlgoodies.com/beyond/jsprint.html

  3. #3
    Join Date
    Jan 2002
    Location
    Tennessee
    Posts
    227
    Since PHP is a server-side scripting language, any information submitted in the form would be sent over the internet back to the server. The only way to prevent this would be to have them fill the form out and print it just as it appears on-screen with the input boxes and everything.
    Phillip

  4. #4

    Thumbs up

    Thankyou all for your suggestions, i think i will just use a pdf file which they can print out.

    Thanks again.

  5. #5
    Join Date
    Feb 2005
    Posts
    1,141
    You can have PHP scripts write the input into a PDF file.
    Daily Updated Web Hosting News Blog
    Including an RSS feed that you can syndicate!
    Daily Updated Web Hosting News Blog
    Unlimited vs. Unmetered bandwidth

  6. #6
    Join Date
    Feb 2005
    Posts
    1,141
    Oops. this thread has been dead since July
    Daily Updated Web Hosting News Blog
    Including an RSS feed that you can syndicate!
    Daily Updated Web Hosting News Blog
    Unlimited vs. Unmetered bandwidth

  7. #7
    Join Date
    Apr 2004
    Location
    uk
    Posts
    48
    lalalala check out www.hotscripts.com for PDF and PHP

  8. #8
    PHPrint does the job. It should be on hotscripts.

  9. #9
    I think you guys a bit late with your help, lol. Ronny86 - Last Activity: 07-18-2004 06:55 AM
    |||| ••••••••••••••••••••••••••••••••••••••••••••••••
    |||| Top 10 Web Hosts - www.TopHostScout.com
    |||| ••••••••••••••••••••••••••••••••••••••••••••••••

  10. #10
    Hey, someone else might need it!

Posting Permissions

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