So excited. I think I have the comment spam under control! (Fingers crossed.)
Today I successfully implemented Akismet, which is best known as a Wordpress plug-in, but is versatile enough to be used with basically any web app. (The code is impressive… sleek, simple, modular. Excellent example of programming “best practices” [my apologies re: the buzzword].)
I used Bret Kuhn’s Akismet PHP class. I created a separate spam table in my database (just a copy of the comments table structure), and that’s where I’m sending the spam comments. So far? Akismet has caught 11 spam comments, all real comments have been going through, and there have been no false positives or spam that slipped through!
I am so freaking excited about this. I feel like doing a little dance or something.
Instead, I’ll probably write a post about it on Download Squad later.