Re: [PHP] Re: Hiding email address from Robots ??

2004-04-09 Thread Gerben
you could make it more difficult when you replace the href=... with href=#. the only problem now is that people without javascript can's use it. you can make the onClick part (almost)impossible to harvest by putting part(s) of the adres into a variable somewhere else in the html-code like this:

[PHP] Re: Hiding email address from Robots ??

2004-04-08 Thread Micheal Isaacson
Actually, a robot will read the html it generates, so this won't really help. However, if you store your adresses as character codes ( ie a space is %20) and not just text, most robots have a hard time reading them. News [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Looking for

[PHP] Re: Hiding email address from Robots ??

2004-04-08 Thread Gerben
just google for it. there are several PHP classes that do that for you. try something like: a href=mail-at-domain-dot-com onclick=location.href='mai'+'lto:'+'mail'+unescape('%40')+'domain.com'; return false;mail#x40;do!--make it difficult--main#x2e;com/a (I didn't check it) I hope you can read it.

Re: [PHP] Re: Hiding email address from Robots ??

2004-04-08 Thread Curt Zirzow
* Thus wrote Gerben ([EMAIL PROTECTED]): just google for it. there are several PHP classes that do that for you. try something like: a href=mail-at-domain-dot-com onclick=location.href='mai'+'lto:'+'mail'+unescape('%40')+'domain.com'; return false;mail#x40;do!--make it

Re: [PHP] Re: Hiding email address from Robots ??

2004-04-08 Thread Ben Ramsey
CZ It all depends on the persons dedication on finding them. I usually just convert them to HTML entities with a function like this: function spamProtect ($address) { $address = str_replace(@, #64;, $address); $address = str_replace(., #46;, $address); $address = str_replace(:, #58;,

Re: [PHP] Re: Hiding email address from Robots ??

2004-04-08 Thread Ryan A
I use two ways of doing this. 1. ( As already pointed out ) don't display your email address at all but have an online form. 2. Use an image with a little noise in the background (idea from CAPTCHA), its just not worth it to write a program that sees an email address to harvest it. This solution