Re: Hide email addresses from spam bots

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tedd wrote:

 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.

C) Run it through a regular HTML parser.

And where does the HTML parser get it's text to parse if not from the web site?

The requested URL /www.xn--ovg.com/captcha was not found on this server.

Both:

http://www.xn--ovg.com/captcha

and

http://xn--ovg.com/captcha

works for me and others -- sorry you had problems -- will look into it.

 > One way is to use Enkoder (it's javascript):
 http://automaticlabs.com/enkoderform/

Which requires the end user to have JavaScript turned on,

Yes, that's the reason I said "it's javascript".

and assumes that
bots can't parse JavaScript (they can, maybe not all, but certainly some).


The point isn't that it can't be done, but rather that you create enough trouble for them to pass on your address. If you think writing a parsing routine is simple, then write a routine to parses this:

<script type="text/javascript" >
//<![CDATA[
function hiveware_enkoder(){var i,j,x,y,x=
"x=\"783d22793e233839346533333437343534373737343734343438343634373735343734" +
"3634373736343834353433373634383438343834333437343a343834353437343634333439" +
"34333433343437343437343234333431343734393438343334373436343734373434373534" +
"3637343433343334373735343734323437343a343737343438343534373737343437323438" +
"34353437343634373435343734353435343134383434343834313437343634383433343737" +
"343437343a3437373634373438343337363437343434373737343737353434373734383434" +
"34383436343734333437373234373436343734343438343534343735343534363437373534" +
"3734323437343a343737343434373234333431343834353437343634373435343734353435" +
"343134383434343834313437343634383433343737343437343a3437373634373438343337" +
"36343734343437373734373735343637343433343334333431343834353437343a34383435" +
"34373734343734363434373534363734343334333435343634373735343734323437343a34" +
"37373434343732343334313438343534373436343734353437343534353431343834343438" +
"34313437343634383433343737343437343a34373736343734383433373634373434343737" +
"37343737353436373434333433343437363435343634373735343734323437343a34373734" +
"34343732343334313438343534373436343734353437343534353431343834343438343134" +
"37343634383433343737343437343a34373736343734383433373634373434343737373437" +
"373534343734343337373437343234343736343334333433343a3434373334343431343437" +
"3333333463383a34653338333834633737376738333339373a346534313463373a34643839" +
"33663764373637663738383537393463373a336334653433333a3863383a33633465383637" +
"66373638343734373238313736333933383336333833633839336638343836373338343835" +
"38333339373a33643433333a333a34633865383a233c7a3e28283c677073296a3e313c6a3d" +
"792f6d666f6875693c6a2c3e332a7c7a2c3e766f667464627166292826282c792f74766374" +
"7573296a2d332a2a3c7e7a223b793d27273b783d756e6573636170652878293b666f722869" +
"3d303b693c782e6c656e6774683b692b2b297b6a3d782e63686172436f646541742869292d" +
"313b6966286a3c3332296a2b3d39343b792b3d537472696e672e66726f6d43686172436f64" +
"65286a297d79\";y='';for(i=0;i<x.length;i+=2){y+=unescape('%'+x.substr(i,2)" +
");}y";
while(x=eval(x));}hiveware_enkoder();
//]]>
</script>

I think trying to figure out what that's about is more trouble than it's worth.

 > Using javascript isn't bad -- at last count less than 9 percent of
 surfers don't have javascript.

There is no way to reliably gather such statistics.

Reliable? You can rely on whatever you feel comfortable with. For me:

http://www.thecounter.com/stats/2005/December/javas.php

at least I have some idea. It's better than nothing.

 > Another way is to use PHP, but it is involved.

PHP won't provide you with a way to display an email address to a human but
not to a spambot.

I'm not talking about displaying an email address. I'm talking about creating a mailto:

 > I direct you to "PHP Cookbook"  O'Reilly by Sklar page 188.

I'm not going to buy a book so I can explain why the technique won't work.

Your choice OR you could visit a book store.

tedd
--
--------------------------------------------------------------------------------
http://sperling.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux