NYCPHP Meetup

NYPHP.org

[nycphp-talk] stopping comment spam with PHP

Chris Snyder chsnyder at gmail.com
Tue Jun 2 16:19:28 EDT 2009


On Tue, Jun 2, 2009 at 4:11 PM, Konstantin Rozinov <krozinov at gmail.com> wrote:

> Basically, I'm interested in hearing opinions on different options to
> block comment spam.

Comment spam is pretty similar to email spam -- there are a bunch of
tricks you can use to slow down dumb scripts, but then the scripts get
smarter and you're back to square one. Hidden form fields, randomized
form field names, and even captchas can all be defeated once the
spambots get smart enough.

Akismet takes a different approach -- it basically acts as a global
spam filter, though as the risk of false positives.
http://akismet.com/

You could do the same thing by running all of your comments through a
GMail inbox. The idea is to use the powerful tools that have already
been developed for email spam, and also to make it "someone else's
problem" so that you don't have to spend any more time on it.

Chris Snyder
http://chxor.chxo.com/



More information about the talk mailing list