XxDesmusxX.NET

28 Jun, 2007

Fighting Spam with CSS

Posted by: xxdesmus In: CSS| Chaos| Internet Related| Javascript| Security| Web Design

Fighting Spam with CSS

I had this problem a few months ago with my old site, and was thus forced to find a solution that was light-weight, easy to implement, and most importantly was effective. I decided to turn toward my friend CSS to help me out. The idea here is setting up a form with a text field and via CSS making it invisible. Then, if a post is sent to a php script handling the request and that text box has information in it, that means a human didn’t fill it out, and the script is simply aborted.

Interesting, and surprisingly simple method for blocking most comment spam. This will be the most likely solution if I run into any comment spam problems here.

 
close Reblog this comment
blog comments powered by Disqus

Recent Tweets


  • xxdesmus: Thank you for the helpful suggestions! I do plan to work my way down to 1984 and Animal Farm (thank you for reminding me...I had meant to add that to
  • Patrick: Congratulations! I've started reading classics that I've always wanted to as well! As an English lit minor, I had always been told by my profs
  • gargouri2001: Personally, i am using this free image hosting services, and I am very hap

About

Full time geek. Part time nerd.

Categories

Archives