Note: this plugin is deprecated since Cotonti Siena 0.9.8 because its functionality and API was acquired by the core. Do not install it if you use Cotonti 0.9.8 or later.
Visit Cotonti CAPTCHA Demopage to see CAPTCHA Manager in action ("Random CAPTCHA" mode).
Use this function to generate CAPTCHA:
$t->assign(array(
'SOMETHING_CAPTCHA' => cot_captcha_generate(),
'SOMETHING_VERIFY' => '<input type="text" name="rverify" />',
));
Then check CAPTCHA on form processing:
$rverify = cot_import('rverify', 'P', 'INT');
if (!cot_captcha_validate($rverify))
{
cot_error('captcha_wrong', $rverify);
}
6 times
265 times
52 times
223 times
RTFM
1 time
181 times
Version converted for Siena is here: http://www.cotonti.com/datas/users/captchamanager_siena_461.zip