Re: Hiding email address from Robots ??

From: Date: Thu, 08 Apr 2004 19:12:30 +0000
Subject: Re: Hiding email address from Robots ??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182892@lists.php.net to get a copy of this message
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. "News" <gordonblack@2t2.com> wrote in message news:20040408172820.20097.qmail@pb1.pair.com... > Looking for opinions before I start using this to hide the email address on > a page > > $nx = "username"; > $sx = "domain"; > $mx = "$nx@$sx"; > > Then mailto:<? echo $mx ?> > > Hopefully a Robot would read the address as the result of $mx, which is > totally useless - but it seems too easy.

« previous php.general (#182892) next »