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 mal
265 mal
52 mal
223 mal
RTFM
1 mal
181 mal
Version converted for Siena is here: http://www.cotonti.com/datas/users/captchamanager_siena_461.zip