Visual captcha: Fighting blog spam
To solve this problem I wanted to use a captcha, but to make it more fun I wanted the captcha to be visual. After some looking around, I could not find this, so I implemented it myself.
The idea and implementation is:
The new captcha system is live on the blog, try to post a comment to see it in action.
Here is the code:
Feel free to port this code to other frameworks and other languages. The code is a bit unclean as I have copy-pasted it directly from Skeletonz.