설문조사 기타의견쓰기에 비회원일 경우 캡챠 적용
This commit is contained in:
1 parent
dc0c463be6
commit
703ce0f585
3 files changed
+16
-1
No files matched your search
@@ -1,6 +1,11 @@
|
||||
<?
|
||||
define('G4_CAPTCHA', 1);
|
||||
include_once('./_common.php');
|
||||
|
||||
if ($is_guest && !chk_captcha()) {
|
||||
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
|
||||
}
|
||||
|
||||
$po = sql_fetch(" select * from {$g4['poll_table']} where po_id = '{$_POST['po_id']}' ");
|
||||
if (!$po['po_id'])
|
||||
alert('po_id 값이 제대로 넘어오지 않았습니다.');
|
||||
|
||||
Reference in new issue
Block a user