home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1896
Discussions: 188,398, Posts: 2,243,591, Members: 232,627
Old December 6th, 2004, 09:53 PM   Digg it!   #1 (permalink)
Senior Member
 
micfau1091's Avatar
 
Join Date: Aug 2004
Location: ThisLand Was My Land
Posts: 512
Send a message via AIM to micfau1091 Send a message via Yahoo to micfau1091
Question
Form Submission - WebPages

Hello, I am making a site for the Basic High School Wolves Baseball...
i need a submission form that emails all the results to my coach....(yahoo account)

The things i need is just simple text boxes...

Team Name:
Contact Person(s):
Address 1:
Address 2:
Phone:
Work:
Cell:
Fax:
Email:
Affiliation:
----
Coaches Information
Name:
Address:
Phone:
Email:
----
Special Requests:



**AND...in the email...can there be dashes to seperate these sections...?
Thanks Again... ineed this a quick as possilbe


I know you will save me again!
__________________
Gaming: AMD64 3K+, X1800GTO 256, 120gb7200
Personal/Living Room Gaming: (laptop)AMD64 3K+, 9700pro, 60gb5400

micfau1091 is offline   Reply With Quote
Old December 6th, 2004, 10:21 PM     #2 (permalink)
Ultimate Member
 
Join Date: Jan 2003
Location: MA / NH
Posts: 1,497
Send a message via AIM to Blazer06
make two pages:
submission.html:
Code:
<html>
  <form action="mail.php" method="post">
    <!-- For as many fields you need, just make sure the name is appropriate -->
    <input name="name">
    
    <!-- the submit button -->
    <input value="Submit" type="Submit">
  </form>
</html>
and a mail.php page:
Code:
<?
  //for each posted varible
  $variblename=$_POST['namefromform'];

  //construct a message:
  $message= "$varible1 blah blah blah formatting how you want a \n makes a <br>";

  //email to send to
  $to= "whoever@whereever.com";
  
  //send the message
  mail($to,"The sender",$message,"from whoever")
?>

<!-- Any HTML code to display a "got mail" page -->
let me know if this doesnt make sence / you need more.


Blaze

Blazer06 is offline   Reply With Quote
Old December 6th, 2004, 11:07 PM     #3 (permalink)
Ultimate Member
 
Join Date: Jul 2003
Posts: 1,253
be aware that you will need a PHP with is a service-side processing language that you will need on the server hosting the submission form.

Rand Dusing is offline   Reply With Quote
Old December 6th, 2004, 11:08 PM     #4 (permalink)
Ultimate Member
 
Join Date: Jan 2003
Location: MA / NH
Posts: 1,497
Send a message via AIM to Blazer06
Yeah, most servers (pay-for) include PHP support.
I'm assuming he is using a PHP supported server?


Blaze
Blazer06 is offline   Reply With Quote
Old December 6th, 2004, 11:15 PM     #5 (permalink)
Perfetc Member
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,327
If he doesnt have PHP There are CGI/perl scripts and such to do this... but they arent quite as striaght forward to install on remote servers normally.
VHockey86 is offline   Reply With Quote
Old December 7th, 2004, 12:44 AM     #6 (permalink)
Senior Member
 
micfau1091's Avatar
 
Join Date: Aug 2004
Location: ThisLand Was My Land
Posts: 512
Send a message via AIM to micfau1091 Send a message via Yahoo to micfau1091
i am using Aplus.Net 's Solo XR
http://hosting.aplus.net/page.php?pg...111111111111#9
it doens't have PHP

I know that it has Form Mailer...can i mod it for many forms?
micfau1091 is offline   Reply With Quote
Old December 7th, 2004, 01:06 AM     #7 (permalink)
Senior Member
 
micfau1091's Avatar
 
Join Date: Aug 2004
Location: ThisLand Was My Land
Posts: 512
Send a message via AIM to micfau1091 Send a message via Yahoo to micfau1091
i need something pretty easy, since i have to have this done as soon as possilbe
micfau1091 is offline   Reply With Quote
Old December 7th, 2004, 01:07 AM     #8 (permalink)
Ultimate Member
 
lost-and-found's Avatar
 
Join Date: Oct 2001
Location: Illinois
Posts: 2,959
Send a message via AIM to lost-and-found
I've got the thing for you, I use it on my website: www.tekshome.com/contact.htm it's called EZ Form Mailer cgi script. Very easy to configure.

http://www.3rdcoast.com/free_scripts.html
__________________
lost-and-found is offline   Reply With Quote
Old December 7th, 2004, 01:24 AM     #9 (permalink)
Senior Member
 
micfau1091's Avatar
 
Join Date: Aug 2004
Location: ThisLand Was My Land
Posts: 512
Send a message via AIM to micfau1091 Send a message via Yahoo to micfau1091
thx..but i need a lot more than just 3 little boxes...as i stated zabove
micfau1091 is offline   Reply With Quote
Old December 7th, 2004, 01:49 AM     #10 (permalink)
Ultimate Member
 
lost-and-found's Avatar
 
Join Date: Oct 2001
Location: Illinois
Posts: 2,959
Send a message via AIM to lost-and-found
I know, that page is just an example, you can put as many as you want, just configure the .cgi file according to the instructions....here's another page that I used that script on, just to show you how easy it can be done: http://www.goldleafgroup.com/about.htm
lost-and-found is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Staples Online EZRebates mad1 IMO Community 2 November 22nd, 2004 12:48 PM
news submission says "deals" sixf00t4 Suggestion Box 0 July 16th, 2003 10:35 PM
Anybody have trouble with Cendyne CD-RW drive's mail-in rebate? samsonmqc General Discussion and Buyer Guidance 21 June 24th, 2003 11:38 PM
anyone been burned by rebates? sugardaddy General Discussion and Buyer Guidance 46 May 15th, 2003 03:09 AM
problem with Back button after form submission rh71 Webmastering and Programming 2 April 8th, 2003 05:03 PM

Most Active Discussions
Is It Just Me? (2904)
Unarmed man on his stomach shot by .. (6)
3-days in and no threads about Gaza (161)
New Build ( Finally ) (6)
CPU wont boot (7)
Building a gaming computer advice (5)
I think I just killed my computer w.. (24)
Folderchat Weekday thread (444)
Upgrading RAM (6)
Recent Discussions
Left 4 Dead Small Freezes (3)
RCA 52Inch HDTV wont turn on (4)
wishin i could edit my aol prof.. (0)
For cheap price and good qualit.. (0)
Sporadic internet connectivity (2)
Assassins Creed PC Problems (40)
I think my PSU is dieing (1)
building a gaming computer, inp.. (0)
Iming and surfing slowed down (3)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 03:17 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28