Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 23rd, 2005, 12:01 PM   #1
d-grafix
Newbie
 
Join Date: Mar 2005
Posts: 1
Rep Power: 0 d-grafix is on a distinguished road
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>
d-grafix is offline   Reply With Quote
Old Mar 23rd, 2005, 1:07 PM   #2
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
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!
Pizentios is offline   Reply With Quote
Old Mar 24th, 2005, 1:17 AM   #3
ZenMasterJG
Hobbyist Programmer
 
ZenMasterJG's Avatar
 
Join Date: Nov 2004
Location: Boston, MA
Posts: 148
Rep Power: 4 ZenMasterJG is on a distinguished road
Send a message via AIM to ZenMasterJG
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.
ZenMasterJG is offline   Reply With Quote
Old Mar 24th, 2005, 8:35 AM   #4
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
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!
Pizentios is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

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

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:29 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC