Hey guys, thanks for the help in advance. I created a html form for my contact page, using post method to a php file, using the mail() function to send the data to my mailbox. I also used a javascript called form validator to make sure people input the right info before submitting the form. However, i'm getting empty submissions every morning. Is there a spam bot on my site? what should i do? I did a little trick, creating a new input textarea and used css to make it hidden and display:none. Will that the trick work? Thanks again.
Hi there. I think the recaptcha project from google is exactly what you're looking for. It's free and only takes a few minutes to set up. You can use it to protect any of your forms from then on from bots of whatever type. I can't post a link yet, but you can do a quick search for "google recaptcha" and it should be the first result. Hope it helps!
What form method you use? GET or POST ? And the file that process the mail().. Do you validate it for only user who click button or not? Because search engine bot can run mail() function although the data is empty..