캡챠키가 넘어오지 않는 경우 return false; 시킴
This commit is contained in:
@ -198,6 +198,7 @@ function chk_captcha()
|
||||
$captcha_cnt = (int)$_SESSION['ss_captcha_cnt'];
|
||||
if ($captcha_cnt > 5) return false;
|
||||
|
||||
if (!trim($_POST['captcha_key'])) return false;
|
||||
if (!isset($_POST['captcha_key'])) return false;
|
||||
if ($_POST['captcha_key'] != $_SESSION['ss_captcha_key']) {
|
||||
$_SESSION['ss_captcha_cnt'] = $captcha_cnt + 1;
|
||||
|
||||
Reference in New Issue
Block a user