homepage Welcome to WebmasterWorld Guest from 54.211.7.174
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
email harvesters and PHP scripts
Kysmiley




msg:1256654
 6:03 pm on Nov 25, 2005 (gmt 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

 

jatar_k




msg:1256655
 6:04 pm on Nov 25, 2005 (gmt 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

Kysmiley




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

thanks, so that means I will have to try to figure out how thses email addresses are being harvested
Pat

jatar_k




msg:1256657
 6:10 pm on Nov 25, 2005 (gmt 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.

nubbin




msg:1256658
 8:42 pm on Nov 25, 2005 (gmt 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

jatar_k




msg:1256659
 8:53 pm on Nov 25, 2005 (gmt 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




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

I like to use JavaScript to encode the email addresses. Split them up into parts and then recombine. Images are also a great solution.

LeChuck




msg:1256661
 2:37 am on Nov 27, 2005 (gmt 0)

You aren't using a form with action="mailto:you@yourdomain.blah"?

Kysmiley




msg:1256662
 3:14 am on Nov 27, 2005 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved