Click to See Complete Forum and Search --> : user submitted forms?
ajkiwi88
12-22-2004, 08:29 AM
hi
is it possible to do a form which e-mails its self to me (or saves to a text document) using normal html/dhtml
cyaz
aj
NogDog
12-22-2004, 08:40 AM
Something has to be run on the web server side to process the form and do what you want with it. Most web host providers supply some sort of rudimentary form mailer. To use it, you need to know the name/location of that program from your web provider, then call it as the action part of your form:
<form name="myForm" action="cgi-bin/formmail.cgi" method=post>
Alternatively, you can write your own server-side script or CGI program to handle the data in a more customized manner, depending on what your server supports.
Tail_Spin
12-22-2004, 05:29 PM
You can use the <FORM ACTION="mailto:email_address" METHOD=POST>
tag.
*** NOTE: The data from the form are not encryped so they can be interseped by a hacker.
Also you will have to decode the data as the mailto action uses certain
symbols as delimiters. ie:
+ = Space
& = line break or new field ( usually of the form: field_name=field_value. )
%25 = % character
%2B = + character
Note: the number following % symbol is the ascii equivalent in hex.
I can send you a handy little ascii to dec/hex utility that lists the standard ascii table (written in DOS days, lol). I can send it to you if you would like.
Here's a screen shot.http://members.shaw.ca/blacksheep_214/misc/chars.jpg
My email is: blacksheep_214@hotmail.com