The captcha : vista aperto
I input "vista", then I click button login. It's success to login. Should it not succeed to login, because the captcha incomplete.
whether the process is so? or is there a way to fix?
I using library recaptcha. I using codeigniter framework. My library is like this :
class Google_recaptcha
{
function check_captcha($private_key, $remote_ip, $challenge, $response)
{
if (!preg_match('/[^A-Za-z0-9\s]/', $response))
{
$CI =& get_instance();
$CI->load->library('scurl');
$array['site'] = 'http://www.google.com/recaptcha/api/verify';
$array['post'] = 'privatekey='.$private_key.'&remoteip='.$remote_ip.'&challenge='.$challenge.'&response='.$response;
$array['referer'] = '';
$array['method'] = 'POST';
$response = $CI->scurl->scurl($array);
$response = explode("\n", $response);
}
else
$response = array('false');
return $response;
}
}