phpCF - Configuration --------------------- Here I will try to explain the configuration directives for phpCF. Config file: phpCF.config.php General Configuration --------------------- $SPAM_THRESHOLD: This variable contains the maximum number of points you want to allow a text to score before phpCF deems that it's spam. Content Checking ---------------- NOTE: Any of these checks can be disabled/made ineffective by setting their value to 0. $NUM_URLS: This variable contains the number of points the text should be assigned for each URL it contains. $POKER_REF: Contains the number of points assigned for every occurence of words associated with online gambling/poker, like "poker", "texas holdem", "texas hold em", "gambling", "blackjack" etc. $MEDIC_REF: Number of points to assign for every reference found to medicine, this is words like "phentermine" and "viagra". $HTML_PERCENTAGE (and $HTML_PERCENTAGE_ALLOW_TAGS): phpCF assigns this number of points for every percent of disallowed HTML the text contains. Define the allowed tags in the variable $HTML_PERCENTAGE_ALLOW_TAGS like this: $HTML_PERCENTAGE_ALLOW_TAGS = ""; NOTE: If you want to disallow all HTML in the text, set $HTML_PERCENTAGE_ALLOW_TAGS to an empty string (ie. ""). Email Checking -------------- NOTE: Any of these checks can be disabled/made ineffective by setting their value to 0. $ALPHA_NUM: Give this number of points if an email username starts with alphabetic characters and ends in numeric characters. Like jane_doe4321@hotmail.com. IP Address Checking ------------------- NOTE: Any of these checks can be disabled by setting their value to 0. These checks requires phpCF to access various sources on the internet to determine whether or not the IP in question can be trusted. So if you don't like phpCF talking to other servers, disable them! $LN_BLACKLISTED: Assign this score if the IP is on the blacklist at Lillesvin Networks (See: http://lillesvin.net/bl.txt or http://lillesvin.net/bl.xml)