Connecting Tech Pros Worldwide Help | Site Map

Best Way to Hide Email from Web Robots

  #1  
Old July 20th, 2005, 01:09 PM
maflu
Guest
 
Posts: n/a
Hello,
I have a form on my website to send data to my email address with the
usual line:
<input type=hidden name="recipient" value="myname@myaddress.com">
What is the best way do you think to hide my email address so that
spammer robots cannot harvest it?
Should I use javascript (but how?) or Php?
Thank you for your help
Cheers
Ted

  #2  
Old July 20th, 2005, 01:09 PM
Fabian
Guest
 
Posts: n/a

re: Best Way to Hide Email from Web Robots


maflu hu kiteb:
[color=blue]
> Hello,
> I have a form on my website to send data to my email address with the
> usual line:
> <input type=hidden name="recipient" value="myname@myaddress.com">
> What is the best way do you think to hide my email address so that
> spammer robots cannot harvest it?[/color]

I find teh best and most effective technique is to encode teh email
address as html character entities. 7 etc... Haven't received spam
on my public email addreses so encoded yet.


--
--
Fabian
Visit my website often and for long periods!
http://www.lajzar.co.uk

  #3  
Old July 20th, 2005, 01:09 PM
Eric Bohlman
Guest
 
Posts: n/a

re: Best Way to Hide Email from Web Robots


maflu <teddymaflu_nospam@fastmail.fm> wrote in
news:3fc5b614$0$2354$626a54ce@news.free.fr:
[color=blue]
> I have a form on my website to send data to my email address with the
> usual line:
> <input type=hidden name="recipient" value="myname@myaddress.com">
> What is the best way do you think to hide my email address so that
> spammer robots cannot harvest it?[/color]

Your form-handling script shouldn't be getting the actual mailing address
from the form itself, period. That's a giant security hole completely
apart from the possibility of harvesting, because it allows anyone to use
your mailer script to send mail to anyone. Spammers look for such scripts
and exploit them to send spam using the script owner's mail server.

  #4  
Old June 10th, 2006, 10:04 PM
Newbie
 
Join Date: Jun 2006
Posts: 5

re: Best Way to Hide Email from Web Robots


http://www.addresslock.com/

It's free and gives source code in PHP and ASP if you want to do it automatically on your own site.
Closed Thread