Hello, i just finished converting all the SA Tests into a PHP array that is being used in a web frontend. This permits the users to modify the scores in the mysql db from the web.
You can get it from: http://sportal.sourceforge.net/gentests.tar.gz The array looks like this: $TESTS=array( array( 'desc' => 'Claims you can be removed in Spanish', 'test' => 'REMOVE_ES_01', 'score' => '1'), ... ); Included in the tar i have: cf_to_html : Taken from the build directory of SA, it outputs the array instead of the html. doarray.php : Takes a file in the form body Claims you can be removed in Spanish REMOVE_ES_01 1 Its a paste and copy from http://spamassassin.apache.org/tests_3_0_x.html checkarray.php : Checks the array against 50_scores.cf and outputs the missing ones. tests.php: the array The web front end is a modification of webprefs and its integrated in IMP (www.horde.org). If somebody is interested, just drop me an email. I hope this is usefull for somebody. Rodrigo A. Diaz Leven
