Welcome to WebmasterWorld Guest from 54.166.239.238

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

email harvesters and PHP scripts

     
6:03 pm on Nov 25, 2005 (gmt 0)

Full Member

10+ Year Member

joined:Mar 27, 2004
posts:276
votes: 0


How do I keep spam bots, email harvesters from harvesting email addresses in my PHP scripts. I have a contact form with a few email addresses that are only on that form yet I am getting spam email to these addresses even though others tell me harvesters can not look into scripts to get email addresses
Pat
6:04 pm on Nov 25, 2005 (gmt 0)

Administrator

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
posts:15755
votes: 0


they can't look into scripts as the source is never served to the browser/bot.

they can only read them if they are in the html source

6:07 pm on Nov 25, 2005 (gmt 0)

Full Member

10+ Year Member

joined:Mar 27, 2004
posts:276
votes: 0


thanks, so that means I will have to try to figure out how thses email addresses are being harvested
Pat
6:10 pm on Nov 25, 2005 (gmt 0)

Administrator

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
posts:15755
votes: 0


yup ;)

look for email adresses in mailto links or just statically on any html pages

I usually convert these to ascii or use images. Though really, give them a contact form and never display email addresses at all.

8:42 pm on Nov 25, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 21, 2003
posts:73
votes: 0


Hi,
I agree with Jatar_K and since implementing that approach have cut down spam by 99%. I reckon fixing the problem with visible email addresses on my site was one of the best changes I made ot the site - it saves so much time not dealing with the spam.

A tiny amount of spam occasionally slips through. I think the bots must automatically fill in my contact form and then harvest the email address from the email reply sent by by form. It is quite rare though and I made that email address one only used for autoreplies saying "thanks for contacting me..." so if spam becomes a problem I'll just change that email address.

Good luck

8:53 pm on Nov 25, 2005 (gmt 0)

Administrator

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
posts:15755
votes: 0


also remember that accounts like

admin
webmaster
etc..

plus generic names

bob
joe
bill
etc...

are often hit just by random emailers, they didn't get it from somewhere, they just use a list of the most common geberic accounts and names

hiker_jjw

2:26 am on Nov 27, 2005 (gmt 0)

Inactive Member
Account Expired

 
 


I like to use JavaScript to encode the email addresses. Split them up into parts and then recombine. Images are also a great solution.
2:37 am on Nov 27, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 12, 2005
posts:136
votes: 0


You aren't using a form with action="mailto:you@yourdomain.blah"?
3:14 am on Nov 27, 2005 (gmt 0)

Full Member

10+ Year Member

joined:Mar 27, 2004
posts:276
votes: 0


I think it was hit on the head with addressed like jim bob john all my emails are buried in pjp contact scripts.
Pat