Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Best Way to Hide Email from Web Robots

Question posted by: maflu (Guest) on July 20th, 2005 12:09 PM
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

Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
Fabian's Avatar
Fabian
Guest
n/a Posts
July 20th, 2005
12:09 PM
#2

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


Eric Bohlman's Avatar
Eric Bohlman
Guest
n/a Posts
July 20th, 2005
12:09 PM
#3

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.


dbunny's Avatar
dbunny
Newbie
5 Posts
June 10th, 2006
09:04 PM
#4

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.

 
Not the answer you were looking for? Post your question . . .
183,813 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors