Hi there,

I've made something, please take a look at that:

The spam challenge currently implemented is a first degree equation
solver. e.g. "What is the value of x that satisfies this equation: - 20
= - 2*x + 56". It can handle 2 types of answers:

1) multiple choices (will display a list of radios)
2) one choice (a text input)

The type of answer accepted depends on the spamProtection_callback used,
it was designed to handle more than one type of challenge, and randomly
choose one of them.

Here is the files I've modified:

php-master-web/entry/spam-protection.php [1] (new file)
php-master-web/entry/user-note.php [2]
phpweb/manual/add-note.php [3]
+ Dump of the new required SQL table [4]

It *should* work, but I've no testing environment, is there one available ?

Thanks in advance.


[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

-- 
Etienne Kneuss

http://www.colder.ch/
[EMAIL PROTECTED]

Reply via email to