07.08.2005
Fight Spam
Since this weblog received about 100 spam comments last week, i implemented a simple spam-filter based on a badwords list.
If a comments text contains more than four occurences of the following
words, it won't get added and the user is redirected to the mainpage.
Thanks to very specific spam content, it only needs a small list of badwords to detect the spam.
- texas
- holdem
- casino
- poker
This is just a simple anti-spam mechanism, but for now it works perfect and i hope it remains so for a long time :-)
12:49 | Coding | 4 comments