Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML Form beginner inquiry

Status
Not open for further replies.

javierdl

IS-IT--Management
Apr 21, 2002
243
CA
Although I'm fairly comfortable with html, never worked much with forms, and hence never totally understood them.
Can someone tell me how to avoid that alert message from IE saying this:

"This form is being submitted using e-mail.
submitting this form will reveal your e-mail address to the recipient,
and will send the form data without encrypting it for privacy."

Check the form I'm talking about:

Thanks in advance,

JavierDL
 
you have to process the form in some way via server side scripting, cgi etc... like php or asp

here's one using ASPMail
_______________________________________________
[sub]{ str = "sleep is good for you. sleep gives you the energy you need to function";
ptr = /sleep/gi;Nstr = str.replace(ptr,"coffee");alert(Nstr); }[/sub]
_______________________________________________
for the best results to your questions: FAQ333-2924
has you're questio
 
Thank you so much onpnt for such a good and super prompt reply : )

I have another question though. Could you just clear my doubts please? Could you just confirm to me the following?:
1. "server side scripting" means I should place a file to do some processing in my own web space. Right? Does it matter where?

2. The code for such file is found at the bottom of the page you sent me to, right?

I know the code above it is for the form I should put in my "Comments webpage".

Thanks in advance onpnt, I appreciate your patience ; )

JavierDL
 
server side scripting can really go anywhere in regards to in a page or a sperate page. there are different ways to have the form submit to itself or to a seperate page and then check values in order to either run the actual code to process the form values and send the mail. In the example I pointed you to it was formatted into two pages. The form action points to the processing page just as the mailto points to the viewers email application to send the mail.
what basically happens is when the page is submitted the action redirects to the next page which holds the code to request all the objects (form values)that were submitted an so on..

as far as where the server side scripting is located directory wise for a particular web site, yes it is located in that space. security wise reasons would not allow you to run a script per say on my server to process your form on your server.

note that there are many ways to process a form via server side scripting. many services provide you with the option to use FormMail which is usually the perl version. this would be located in your cgi-bin (naming may differ for folders)
if that is not available then you just need to find out what server side scripting is available to you. ASP, PHP etc..
I'm not up to speed on PHP but ASP has around 6 or 7 different mailer components that may be installed on the server if ASP is what you need to use. They will also let you know which object you need to use.

_______________________________________________
[sub]{ str = "sleep is good for you. sleep gives you the energy you need to function";
ptr = /sleep/gi;Nstr = str.replace(ptr,"coffee");alert(Nstr); }[/sub]
_______________________________________________
for the best results to your questions: FAQ333-2924
has you're questio
 
Wow! I appreciate such an elaborate reply onpnt!
But damn it! It seems way much more than I was expecting, all just to keep a silly warning window from popping up :(

I'll have to get the info you suggest from my ISP before you hear again from me.

until then,

JavierDL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top