Warning: mysql_connect() [function.mysql-connect.php]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/waterwav/public_html/weblog/includes/weblog.php on line 44

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/waterwav/public_html/weblog/includes/weblog.php on line 337

Warning: Invalid argument supplied for foreach() in /home/waterwav/public_html/weblog/includes/functions.php on line 66

Warning: Variable passed to each() is not an array or object in /home/waterwav/public_html/weblog/includes/functions.php on line 111
x-log: Archive

Thèmes

Liens

License

Creative Commons License

Unless otherwise expressly stated, all original material of whatever nature created by Andreas Jaggi and included in this weblog is licensed under a Creative Commons License.

7.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 | lien permanente

1.08.2005

Les Landes 2005 - Teil 1

Um 20.30h fängt der Film an. Wenn du den Zug nimmst, der in zehn Minuten fährt, reichts noch!
Und so habe ich mir am Freitag vor zwei Wochen noch schnell Mr. & Mrs. Smith angeschaut. Als ich nach dem Kinobesuch wieder Zuhause angekommen war, musste ich mich beeilen um noch meine Sachen zu packen damit wir um vier Uhr morgens in Richtung Frankreich losfahren konnten. Wir verbrachten unsere Ferien nocheinmal im Derpartement des Landes in Moustey. Da ich auch meine Digitalkamera mitgenommen hatte, gibts diesmal sogar ein paar Bilder.



plus

02:08 | Misc | lien permanente