The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP Contact Form SPAM! Re: PHP Contact Form SPAM!


You’re right – its not semantically beautiful. But as long as you have a site that is small enough to not become target to special designed spam bots, I consider this a better solution than captcha checks. You gain some usability and sleekness, with the only downside being slightly less semantic code. I can live with that. :-)

(To make it more semantic, one might make the input field of the hidden type instead. However, that would not trick the spambots to fill data into the field.)