Re: Hide email addresses from spam bots

From: Date: Wed, 01 Feb 2006 15:06:53 +0000
Subject: Re: Hide email addresses from spam bots
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-229631@lists.php.net to get a copy of this message
found this a couple of days ago on Digg: http://www.csarven.ca/hiding-email-addresses "A comprehensive list of methods on how to hide email addresses in source code from spam bots. Includes; CSS, Javascript, Forms, Images, Obfuscation, Authentication, Flash, Unicode, Encryption and other methods. Each technique is presented and explained with their advantages and downfalls." - schnippy On 2/1/06, tedd <tedd@sperling.com> wrote: > >A user of mine insists that her email address shows on a web page. I > >need to protect that address from spam bots. There are lots of > >solutions around that I have come acros. I am looking for a clean, > >reusable, non-javascript solution. > > > >Any help is appreciated. > > > >Gerry > > Gerry: > > There are several ways to help protect your email address. > > There are only two ways for a spambot to get your email address from > a web site: A) to read it via a screen reader, which is exceedingly > slow. I may be wrong, but I doubt that any serious harvester would > consider this method; B) to read it via text contained within your > web site. > > A) With the first you could use CAPTCHA, see: > > http://xn--ovg.com > > If you want the code, I'll provide. > > B) With the second, you need to disguise your email address such that > spambots don't understand it. > > One way is to use Enkoder (it's javascript): > > http://automaticlabs.com/enkoderform/ > > I also have their program and it works great. > > For example, check out the source for the following page: > > http://www.sperling.com/contact.php > > The javascript enkoder portion is hidden from spambots. > > Using javascript isn't bad -- at last count less than 9 percent of > surfers don't have javascript. > > Another way is to use PHP, but it is involved. I direct you to "PHP > Cookbook" O'Reilly by Sklar page 188. > > I'm sure there are other ways, but the above work. > > tedd > -- > -------------------------------------------------------------------------------- > http://sperling.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#229631) next »