Documentation

CaptchaCheckCode

CMain::CaptchaCheckCode(
 captcha_word, 
 captcha_sid
)

The method us used to handle the captcha. Non-static method.

Parameters

Parameter Description
captcha_wordCaptcha word
captcha_sid Captcha session

Examples of use

 if ( $APPLICATION->CaptchaCheckCode($captcha_word, $captcha_sid) ) {
  print 'Captcha valid';
} else {
  print 'Wrong captcha';
}


© «Bitrix24», 2001-2022
Up