Fight spam in notes system

From: Date: Wed, 28 Jun 2006 18:25:43 +0000
Subject: Fight spam in notes system
References: 1 2  Groups: php.mirrors php.mirrors 
Request: Send a blank email to php-mirrors+get-31873@lists.php.net to get a copy of this message
Hi again, I've received no feedback from the php-doc list. So I try here again: Here is a spam protection system that is able to handle multiple spam challenges. Each spam challenge is defined in a function in the spam-protection.php[1] file. This function returns the question and the answer following an established protocol. The system handles everything after that: - Create a spam ticket storing the spamID and the answer[1] - Give the question and the spamID to add-note.php[3] - Gather the response and check it against the spam ticket[2] - Clean up and optimize the table[4] (each ~1/20 sucessful notes) This tickets system also ensure the user firstly get to add-note.php before requesting user-note.php on the master server. Links to file/patches; [1] http://www.colder.ch/repository/php/php.net/spam-protection.php [2] http://patches.colder.ch/user-note-1.55.patch?markup [3] http://patches.colder.ch/add-note-1.69.patch?markup [4] http://www.colder.ch/repository/php/php.net/spam_tickets.sql.txt Kind regards -- Etienne Kneuss http://www.colder.ch/ colder@php.net

« previous php.mirrors (#31873) next »