| How to turn on/off anti-spam |
|
|
|
|
PHPMembers can protect your membership website from spammer robots signing up fake accounts. The system requires users to input a four digits verification code to prove they are humans. This feature is automatically turned on by default, if GD library is available in your PHP environment. The function requires a temporary folder to store verification images. If there is no temporary folder in your PHP settings, you must modify the configuration file ('/lib/config.inc.php') of PHPMembers and put the following code in it. $cfg['site']['antiSpamTmpDir'] = '/www/temp'; Replace '/www/temp' with the actual temporary folder on your site. It is important to give write permission of the folder to PHPMembers. You can use your FTP client to set the folder permission to '777'. If you would like to turn off the anti-spam function, put the following code in the configuration file of PHPMembers. $cfg['site']['disableAntiSpam'] = 1; Note: this feature is only available to PHPMembers version 1.2.0 or above. You should always backup your configuration file before you modify it. |




