Welcome to WebmasterWorld Guest from 54.205.74.11

Forum Moderators: coopster & jatar k

email harvesters and PHP scripts

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

10+ Year Member



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)

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



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)

10+ Year Member



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)

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



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)

10+ Year Member



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)

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



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

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

10+ Year Member



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)

5+ Year Member



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

10+ Year Member



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

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month