Re: Hide email addresses from spam bots

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

 



Indeed, the problem is that the HTTP-USER_AGENT is actually set by the software reading the page, a bot could actually say its IE6 and then bypass your protection.

The best protection you can do is encoding your addresses in a two way encoding like Base64 wich is plenty enough and using a little script on your email links, you call a javascript that decodes the links and does a window.location = "mailto:"+decoded_email

This will the browser act like a mailto: link had been clicked and still protect your email adresses.

For example: mdumoulin@xxxxxxxxxxxxxxx looks like this in base64 : bWR1bW91bGluQGdyb3VwZS1jZGdpLmNvbQ==

Now i dunno how to do a base64 decode and encode in javascript but there is bound to be someone that did it somewhere on the net, just look for a function already coded...

tedd wrote:
Regulars:

I doubt if this can be done, but it there a way to detect a spambot as compared to a SE indexing your site? They are both basically the same, right?

tedd


--
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