Checks if the entered captcha is the same like the one from the rendered image which has been saved in session
public static checkCaptcha ( $captcha ) : boolean | ||
$captcha | string The captcha characters | |
return | boolean | success of captcha check |