NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Form emailing

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 06-29-2003, 05:54 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Jun 2003
Posts: 6
wh0die is an unknown quantity at this point
 



Form emailing


How can i create a form where when it is submitted, the results will be emailed to me.

I have no cgi-bin, using brinkster and i dont want to pay for one...

I am also using HTML and unless someone has an easy explanation for another method to code with i cant use it.

Thanks
wh0die
wh0die is offline  
Old 06-29-2003, 05:58 PM   #2 (permalink)
NamePros Regular
Join Date: Jun 2003
Location: California
Posts: 245
Alpha is an unknown quantity at this point
 



Something like this:

Code:
<form method="post" enctype="text/plain" action='mailto:your email address'>
<input type="hidden" name="To" value="your subject for email">
Put question # 1 here:<br>
<input type="text" name="question:" size="50" maxlength="100"><br><br>
Put question # 2 here:<br>
<input type="text" name="question:" size="50" maxlength="100"><br><br>
Put question # 3 here:<br>
<input type="text" name="question:" size="50" maxlength="100"><br><br>
Put question # 4 here:<br>
<input type="text" name="question:" size="50" maxlength="100"><br><br>

Put something here that requires a long answer:<br>
<textarea name="Subject of text area" wrap=physical rows=7cols=46></textarea>
<br><br>A yes no question goes here:<br>
<input type="radio" name="your question1"value="Yes">Yes<BR>
<input type="radio" name="your question1"value="No">No<br>

<br><br>A yes no question goes here:<br>
<input type="radio" name="your question2"value="Yes">Yes<BR>
<input type="radio" name="your question2"value="No">No<br><br>

<input type="submit" value="Submit"><img src="spacer.gif" width=5 height=1 alt="spacer">
<input type="reset" value="Try again"></form>
__________________
--Alpha
Alpha is offline  
Old 06-29-2003, 06:03 PM THREAD STARTER               #3 (permalink)
New Member
Join Date: Jun 2003
Posts: 6
wh0die is an unknown quantity at this point
 



that is where the problem lies, when u click the submit button it tries to send the email through outlook which is what i definetly dont want...

thanx though
wh0die is offline  
Old 06-29-2003, 06:04 PM   #4 (permalink)
NamePros Regular
Join Date: Jun 2003
Location: California
Posts: 245
Alpha is an unknown quantity at this point
 



Oh so you want it to be sent from the browser?
__________________
--Alpha
Alpha is offline  
Old 06-29-2003, 06:13 PM THREAD STARTER               #5 (permalink)
New Member
Join Date: Jun 2003
Posts: 6
wh0die is an unknown quantity at this point
 



if possible yes
wh0die is offline  
Old 06-29-2003, 06:14 PM   #6 (permalink)
NamePros Regular
Join Date: Sep 2002
Location: Canada
Posts: 481
DarkDevil is an unknown quantity at this point
 



its appears so. I believe you must have something a little more advanced than simple html support.
__________________
Sometimes I lay awake at night and I ask "Where have I gone wrong?" Then a little voice says "This is going to take more than one night"
DarkDevil is offline  
Old 06-29-2003, 06:14 PM THREAD STARTER               #7 (permalink)
New Member
Join Date: Jun 2003
Posts: 6
wh0die is an unknown quantity at this point
 



is there some sort of 3rd party place to have the script sent then forwarded to my email or something...
wh0die is offline  
Old 06-29-2003, 06:16 PM THREAD STARTER               #8 (permalink)
New Member
Join Date: Jun 2003
Posts: 6
wh0die is an unknown quantity at this point
 



i just need a way for it to bypass outlook express, for people who dont have it, etc.
wh0die is offline  
Old 06-29-2003, 06:18 PM   #9 (permalink)
NamePros Regular
Join Date: Sep 2002
Location: Canada
Posts: 481
DarkDevil is an unknown quantity at this point
 



I'm not to sure, but i would think the technology involved in getting the info from your site to the 3rd party would be the same technology used in getting your info from your site to your email without the 3rd party... so again, i'd believe you would need another form of code support.. but i could be wrong.
__________________
Sometimes I lay awake at night and I ask "Where have I gone wrong?" Then a little voice says "This is going to take more than one night"
DarkDevil is offline  
Old 06-29-2003, 06:20 PM THREAD STARTER               #10 (permalink)
New Member
Join Date: Jun 2003
Posts: 6
wh0die is an unknown quantity at this point
 



If its a different code thats fine, as long as i can input it into the page i have right now.

Is there some sort of file i can upload onto my file manager that could read the form data and then email it to me?
wh0die is offline  
Old 06-29-2003, 06:38 PM   #11 (permalink)
Senior Member
Join Date: Aug 2002
Posts: 1,255
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
 



Yes if you're only using html then what Alpha posted is pretty much what you're limited to. It's really no different than using the mailto: command in a link.
????: NamePros.com http://www.namepros.com/programming/14934-form-emailing.html

This may work out for you though http://www.mcfedries.com/mailform/registration.asp . There's quite a few free third party form processing scripts that you can use on your own page out there actually.

By the way, I moved this to the correct forum. We try to keep this forum for posting tutorials and responding to those tutorials.
deadserious is offline  
Closed Thread


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


Liquid Web Smart Servers  
All times are GMT -7. The time now is 08:07 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger