캡차 체크 코드 추가
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
<?
|
||||
define('G4_CAPTCHA', true);
|
||||
include_once('./_common.php');
|
||||
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||
|
||||
// 090710
|
||||
if (substr_count($wr_content, "&#") > 50) {
|
||||
@ -20,6 +21,8 @@ if (!empty($_POST['wr_email']))
|
||||
if ($is_guest) {
|
||||
if ($wr_name == '')
|
||||
alert('이름은 필히 입력하셔야 합니다.');
|
||||
if(!chk_captcha())
|
||||
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
|
||||
}
|
||||
|
||||
if ($w == "c" || $w == "cu") {
|
||||
|
||||
Reference in New Issue
Block a user