justuptime.com - monitor your servers & websites

Form spamming

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

They have: 13 posts

Joined: May 2007

Hi Guys

Hope this is the correct place for this?
My mini-sites (not my main site yet) is having the contact forms spammed. I understand a snippet of java script is required in the HTML code a 'spam' email encoder' where you require genuine clients to enter digits and letters for verification. Where can I get such a snippet? is there one you would recommend better than another? and is it easy to install? where does it go exactly in the page code?

Thanks for alllllllllllllll the anticipated help:cool: Cool :cool:

Padi

teammatt3's picture
Moderator

He has: 1,902 posts

Joined: Sep 2003

They have: 13 posts

Joined: May 2007

Many thanks teammatt

Will check it out and see if I can understand it I may be back:wave:

He has: 339 posts

Joined: May 2007

One neat idea I read about is to include an extra input field on your form and hide it with CSS. Spam bots usually just blindly fill in all available fields. Since you know that a genuine visitor likely can't see the input, just test the input field for data, and reject the form if the field is not empty.

You may need to add some nearby text to warn a visitor not to use this extra input, just in case they have CSS turned off. (Some hand-held devices may not use the CSS, for example.)

I have not tried this out, but worth a shot as it is easy to implement.

Cordially, David
--
"Old web developers don't die, they degrade gracefully..."

They have: 13 posts

Joined: May 2007

Hi Webwiz

Thanks for that, still trying to get captcha to work. I let you know if this working not sure my technical skills are up to what you described.

Regards

Padi

He has: 339 posts

Joined: May 2007

Quote: not sure my technical skills are up to what you described.

Well, my technical skills aren't up to captchas! Smiling
FWIW - Captchas are not accessible by lots of people; also, I understand that some bots are able to read text in images, so you may still get some spam anyway. Sad

Cordially, David
--
"Old web developers don't die, they degrade gracefully..."