SecurImage CAPTCHA Plugin is based on the SecurImage class by Drew Phillips
Cotonti Siena version can be downloaded here.
If you use Cotonti Genoa, then this plugin is recommended for use with CAPTCHA Manager. However, it can be used as a single CAPTCHA solution for the website.
There is no such requirement for Cotonti Siena.
Visit Cotonti CAPTCHA Demopage to see SecurImage CAPTCHA plugin in action (CAPTCHA Manager is set to "Random CAPTCHA").
Use of SecurImage CAPTCHA in plugins:
To insert image use:
$my_captcha_img = cot_captcha_generate();
the function returns picture html-code
For validity checks use:
$rverify = cot_import('rverify', 'P', 'ALP');
if (!cot_captcha_validate($rverify))
{
cot_error('captcha_verification_failed', 'rverify');
}
Sorry for stupid question, but i am new in cotonti, where must i insert this codes?
Thanked: 180 раз
Paragraph 4 need only if you make plugin in other cases, the instructions in paragraph 3, it suffices