Re: Spam Bots/E-mail Addys

From: Date: Thu, 13 Jun 2002 21:02:45 +0000
Subject: Re: Spam Bots/E-mail Addys
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-102060@lists.php.net to get a copy of this message
Hello, On 06/13/2002 02:10 PM, Jason Soza wrote:
Just curious... If I have a site that stores information about people in a database, including e-mail addresses, and that information is only viewable when called via a user-specific variable, i.e. their alias, can spambots still harvest those e-mail addresses? So for instance I have a page called 'users.php' and to find the e-mail address for John Smith, you'd follow a link that directs you to users.php?alias=johnsmith - I guess my main question is, can spambots follow those types of links, get the resulting page, and harvest the address off that? Is there any way to combat this? Any PHP scripts, classes, functions that can 'hide' e-mail addresses? The site I'll be building needs to have the e-mail addresses available, but I don't want to subject users to more spam than they probably already get.
I had that problem and the solution that I used was use Javascript in the ONCLICK event of the dynamically construct the link URL with static values that are hard to figure that they represent an address by spam harverster bots. Look at the bottom of the pages here for an example: http://www.phpclasses.org/ -- Regards, Manuel Lemos

« previous php.general (#102060) next »