![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Mar 2005
Posts: 1
Rep Power: 0
![]() |
Whats wrong with my mail form
this is a form example ive tried to use for feedback on my site. The thing is, internet explorer throws up a message saying "this will show people my email address" and then goes into outlook. I thought this was supposed to post the data from the website..
Please help <H3>Example Reply Form</H3> <FORM ACTION="mailto:dan@d-grafix.com" METHOD="POST" ENCTYPE="text/plain"> <P> <INPUT TYPE="hidden" NAME="subject" VALUE="Example Form"> <SELECT NAME="age"> <OPTION VALUE="under 18">under 18 </OPTION> <OPTION SELECTED VALUE="18 to 25">18 to 25 </OPTION> <OPTION VALUE="25 to 30">25 to 30 </OPTION> <OPTION VALUE="30 to 40">30 to 40 </OPTION> <OPTION VALUE="over 40">over 40 </OPTION> </SELECT> Your age<BR> <INPUT TYPE="text" NAME="name" size=40> Your name<BR> <INPUT TYPE="text" NAME="email" size=40> Your e-mail </P> <P> <TEXTAREA NAME="details" COLS=50 ROWS=10 WRAP="physical">Something about yourself</TEXTAREA> </P> <P> I think this guide is <INPUT TYPE="radio" NAME="opinion" VALUE="great" checked> great <INPUT TYPE="radio" NAME="opinion" VALUE="middling"> middling <INPUT TYPE="radio" NAME="opinion" VALUE="very poor"> very poor </P> <P> <INPUT TYPE="submit" VALUE="Process Data"> <INPUT TYPE="reset" VALUE="Clear Data"> </P> </FORM> |
|
|
|
|
|
#2 |
|
Programming Guru
![]() ![]() |
The problem arises because modern browsers, IE6 + and equivalent, no longer support email forms
so there are three options that you have: 1) use CGI to invoke a and a mail system such as sendmail or qmail. (mainly for servers running unix like OS's) 2)Aparently there are frontpage extentions that will let you do it, but frontpage sucks, and produces grabled code....so we won't go there. 3) use php or asp to do it. the php solution can be found here: http://dtheatre.com/scripts/formmail http://dtheatre.com/scripts/source_v.../formmail.phps the second link is the source code. and since i don't know anything about frontpage (other than it sucks), or perl cgi i won't go into the other options. However, the php solution needs for your server to have php installed.
__________________
Profanity is the one language that all programmers understand. Check out my Blog <---updated Nov 30 2007! |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
Perl is also a pretty common option for dealing with forms, and many pre-written scripts exist out on the interwebs for free. Try googling for "perl form" if you wanna use perl, there are a BUNCH of handy sites.
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() ![]() |
acutallly the php script that i linked to is based on the perl version that came out. i also think that there is a asp version out there, but i like php better.
__________________
Profanity is the one language that all programmers understand. Check out my Blog <---updated Nov 30 2007! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|