cancel
Showing results for 
Search instead for 
Did you mean: 

Contact forms on website

hamilton36
Grafter
Posts: 220
Registered: 13-08-2007

Contact forms on website

Hi,
I have written a contact form on my website, but I did not want my email address to be shown to the persons that contact me.
What do I need to change below so that my email address remains hidden?
<FORM METHOD=POST ACTION="http://homepages.plus.net/cgi-bin/form"><P>Name : <INPUT TYPE="text" NAME="name" SIZE=40><P>Email : <INPUT TYPE="text" NAME="email" SIZE=40><P>Subject : <INPUT TYPE="text" NAME="subject" SIZE=40><INPUT TYPE="HIDDEN" NAME="recipient" value="alex@username.plus.com">
<p>Message : <TEXTAREA NAME="comment" ROWS=15 COLS=70></TEXTAREA><P><INPUT TYPE="submit" VALUE="Submit"><INPUT TYPE="Reset"></FORM>
Many thanks,
Alex
dick:green Email address edited to remove username.
2 REPLIES
LiamM
Grafter
Posts: 5,636
Registered: 12-08-2007

Re: Contact forms on website

Quick note, you may not want to reveal your email address in your post as this site is publicly accessible (and accessible to search engines)!  (The mods may well remove it before you see this).
What you want is a form-mail script which sends the email behind the scenes (on the web server) rather than relying on the visitors email client to send the email (they may not even have one setup if they use webmail).
I'm not too sure what is supported on homepages and cgi isn't available on the new products unless already activated.  But this is the sort of thing you need :-
http://www.scriptarchive.com/formmail.html
hamilton36
Grafter
Posts: 220
Registered: 13-08-2007

Re: Contact forms on website

Thank you Liam. Too complicated for me, I am afraid.  
Thanks again,
Alex
dick:quote