June 8, 200818 yr Hi all, Please excuse me if this has been covered already. I need a script in order to stop spam coming through on my email form...View the form here very basic but its what I need but I keep getting lots of spam and porn links in which i dont want does anyone know the script to stop this????
June 8, 200818 yr Author give your form some margin-left! Will do when i get answered on my question...cheers anyway
June 8, 200818 yr Try making a hidden form that says "email" make the hidden form not go through, so if a robot sees the hidden form and fills it in, it won't go through... Does that make sense?
June 8, 200818 yr Author Try making a hidden form that says "email" make the hidden form not go through, so if a robot sees the hidden form and fills it in, it won't go through... Does that make sense? Yes kinda!!! PLease explain in more details and even show an example of what you mean if you don't mind Thanks
June 9, 200818 yr I would either go with a captcha, those images whose skewed text you have to enter correctly, or the method mentioned above by Meshach which you can read up on here: http://www.modernblue.com/web-design-blog/...-spam-with-css/
June 9, 200818 yr I would either go with a captcha, those images whose skewed text you have to enter correctly, or the method mentioned above by Meshach which you can read up on here: http://www.modernblue.com/web-design-blog/...-spam-with-css/ This is a good idea - but poses an accessibility problem. Non/ custom CSS users will see the hidden field and fill it in... Any other workarounds?
June 9, 200818 yr If you dont want to use a captcha you can try to include some random questions as a form of validation. Like 'Is fire hot or cold'? then the answer. Meshach's solution is good as well but you need to combine that with either a captcha or the question thing. Another thing you could do is to check the length of the input fields' datas. Like people don't usually have names of more than 40 characters whereas a spambot might put in more characters. This is still not the end of the story...some spambots use mail injection. Similar to the Sql injection it uses special characters (like hex code) to enter spaces and/or carriage returns into the mail header. That's where regular expressions work really well. So choose at least 2 verification methods and you'll be fine
June 10, 200818 yr Author I don't want to use captcha, I just want a piece of script that will validate an email etc so that I can cut down on spam and other unwanted emails.
June 10, 200818 yr I don't want to use captcha, I just want a piece of script that will validate an email etc so that I can cut down on spam and other unwanted emails. well read my post above...validating the email address wont protect you from spam emails
Create an account or sign in to comment