homepage Welcome to WebmasterWorld Guest from 54.197.189.108
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
How to get rid of automated emails
need help
Dinesh_Gour




msg:3707958
 5:42 am on Jul 26, 2008 (gmt 0)

Hi, All

There is someone who is targeting my site and sending me more then 50 mails per day. All are spam mails. I have added a verification code using javascript but still getting many mails.
And the problem is that i can't develop verification image in php or asp bcoz there are around 300 html pages in my site that includes booking form.

I need your help to find out how i can block some one from sending such mails.
when i checked mail server it shows - mailed- bycoleman.example.com

Please help me.

Thanks

Dinesh Sharma

[edited by: dreamcatcher at 7:01 am (utc) on July 26, 2008]
[edit reason] use example.com. Thanks. [/edit]

 

Sekka




msg:3708034
 10:02 am on Jul 26, 2008 (gmt 0)

JS verification will do f**k all. Bots bypass them, hence why you should always do server side verification.

I suggest the honey pot method. This should solve most of your spam. It's actually really simple but at the same time very effective.

Add a few fields to your form. Call them subject, body, name, etc, things that are generic to most forms on the web. Now, wrap these form fields in a div and place a CSS class on that div with a non obvious name, e.g. 'farmerted', and add 'display:none' to the class. This will hide the form fields from normal users.

It's best practice to put a note after the open div tag and before the first form field saying something like 'If you can see these fields, please do not fill them in'.

Now, all you need to do when the form is submitted is check if those hidden fields have content. If they do, a little spam bot has been a crawlin' and you return an error saying 'Invalid Form Submission' or something.

Dinesh_Gour




msg:3708333
 9:57 pm on Jul 26, 2008 (gmt 0)

Dear Sekka Thanks alot for your suggestion. I think it should work for me.

You guys are so helpful. Thanks Again.

adammc




msg:3708857
 11:36 pm on Jul 27, 2008 (gmt 0)

you could add a question to the form (1+1=) and then check the answer before sending.

Or use captcha verification.

Just my 2 cents :)

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