Hi - how easy would it be to change the CAPTCHA script that's used? We find it quite difficult to read ourselves and would like to change it for a different one.
Which files would we find the code in?
Cheers
Mon Mar 08, 2010 8:22 am
admin
Site Admin
Joined: Tue Dec 29, 2009 11:39 am Posts: 11
Re: Change CAPTCHA script
Hi,
The CAPTCHA script sits in /includes/kcaptcha/
The actual code that processes the CAPTCHA is in submit.php
Line 39 is the validation:
Code:
if ($settings['link_captcha'] && $_SESSION['captcha_keystring'] !== $_POST['captcha']) $err = $lang['error_captcha'];
and line 54 assigns the path to the image for the template:
Code:
if ($settings['link_captcha']) $smarty->assign('captcha_image', 'includes/kcaptcha/?' . session_name() . '=' . session_id());
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum