hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting Talk Tutorials : Web Design and Content Tutorials : Printing in PHP
Reply

Forum Jump

Printing in PHP

Reply Post New Thread In Web Design and Content Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
New Member
 
Join Date: Jul 2004
Location: UK
Posts: 0
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



Sponsored Links
  #2  
Old
Junior Guru Wannabe
 
Join Date: Dec 2000
Location: Dublin, Ireland
Posts: 37
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

__________________
Host Partners Wanted

  #3  
Old
WHT Addict
 
Join Date: Jan 2002
Location: Tennessee
Posts: 159
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.

__________________
Rudy Green[e]

mapify.us - Local Events on a Map

Sponsored Links
  #4  
Old
New Member
 
Join Date: Jul 2004
Location: UK
Posts: 0
Thumbs up

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

Thanks again.

  #5  
Old
Web Hosting Master
 
Join Date: Feb 2005
Posts: 1,128
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  
Old
Web Hosting Master
 
Join Date: Feb 2005
Posts: 1,128
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  
Old
Junior Guru Wannabe
 
Join Date: Apr 2004
Location: uk
Posts: 47
lalalala check out www.hotscripts.com for PDF and PHP

__________________
Links Juice Directory

  #8  
Old
Web Hosting Master
 
Join Date: Mar 2005
Posts: 615
PHPrint does the job. It should be on hotscripts.

  #9  
Old
Web Hosting Master
 
Join Date: Mar 2005
Posts: 1,934
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  
Old
Web Hosting Master
 
Join Date: Mar 2005
Posts: 615
Hey, someone else might need it!

Reply

Related posts from TheWhir.com
Title Type Date Posted
HP Restructuring will Separate Enterprise and Cloud Offerings from PCs and Printing Web Hosting News 2014-10-06 17:01:09
Ads Available for the Second Printing of WHIR’s Annual Hottest Hosts Directory Blog 2014-04-08 16:52:36
DigitalOcean Hires Former Makerbot VP of Finance to Fuel Growth Web Hosting News 2013-10-25 14:45:59
Toshiba Launches Virtual Desktop Service with VMware and Citrix Web Hosting News 2013-10-07 11:43:05
Go Daddy, OfficeMax Partner to Put Small Business Hosting on Retail Shelves Web Hosting News 2013-01-17 07:59:36


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?