hosted by liquidweb


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

Web Design and Content Tutorials Tutorials on web design and content.
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 07-07-2004, 11:12 AM
Ronny86 Ronny86 is offline
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

Reply With Quote


Sponsored Links
  #2  
Old 07-17-2004, 06:07 PM
KeithMcL KeithMcL is offline
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

Reply With Quote
  #3  
Old 07-17-2004, 10:02 PM
parawing742 parawing742 is offline
WHT Addict
 
Join Date: Jan 2002
Location: Tennessee
Posts: 158
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.

Reply With Quote
Sponsored Links
  #4  
Old 07-18-2004, 06:55 AM
Ronny86 Ronny86 is offline
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.

Reply With Quote
  #5  
Old 02-24-2005, 11:50 PM
HostingInsider HostingInsider is offline
Web Hosting Master
 
Join Date: Feb 2005
Posts: 1,128
You can have PHP scripts write the input into a PDF file.

Reply With Quote
  #6  
Old 02-24-2005, 11:52 PM
HostingInsider HostingInsider is offline
Web Hosting Master
 
Join Date: Feb 2005
Posts: 1,128
Oops. this thread has been dead since July

Reply With Quote
  #7  
Old 02-17-2006, 01:04 PM
matrixnet matrixnet is offline
Junior Guru Wannabe
 
Join Date: Apr 2004
Location: uk
Posts: 47
lalalala check out www.hotscripts.com for PDF and PHP

Reply With Quote
  #8  
Old 02-17-2006, 10:08 PM
Shaliza Shaliza is offline
Web Hosting Master
 
Join Date: Mar 2005
Posts: 615
PHPrint does the job. It should be on hotscripts.

Reply With Quote
  #9  
Old 02-17-2006, 10:27 PM
Konrad4 Konrad4 is offline
Web Hosting Master
 
Join Date: Mar 2005
Posts: 1,935
I think you guys a bit late with your help, lol. Ronny86 - Last Activity: 07-18-2004 06:55 AM

Reply With Quote
  #10  
Old 02-17-2006, 10:30 PM
Shaliza Shaliza is offline
Web Hosting Master
 
Join Date: Mar 2005
Posts: 615
Hey, someone else might need it!

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Go Daddy, OfficeMax Partner to Put Small Business Hosting on Retail Shelves Web Hosting News 2013-01-17 07:59:36
Missouri News Organization Invests $20M in Web Host Online Tech for Data Center Expansion Web Hosting News 2012-09-17 10:42:26
HP Expands Converged Cloud Portfolio with New Services Web Hosting News 2012-06-06 14:40:06
Web Host XIOLINK Completes Expansion at St. Louis Data Center Web Hosting News 2012-01-18 16:01:09
Vistaprint Acquires Web Host Webs.com for $118 Million Web Hosting News 2011-12-19 20:56:19


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 On
HTML code is Off

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



Forgot Password?
Advertisement:
Web Hosting News:



 

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?