Re: Hiding email address from Robots ??

From: Date: Thu, 08 Apr 2004 17:52:28 +0000
Subject: Re: Hiding email address from Robots ??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182874@lists.php.net to get a copy of this message
news wrote:
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.
Perhaps I'm missing something (and if I am, please let me know), but how would username@domain be totally useless to email harvesting robots? If $nx was 'user' and $sx was 'example.com'. The mailto would be displayed as 'mailto:user@example.com' which any mail robot will clearly be able to use. Any robots will not read the page until all PHP code has run and returned the page as complete html. -- Jason Giangrande <jason@giangrande.org> http://www.giangrande.org http://www.dogsiview.com

« previous php.general (#182874) next »