스팸 차단

별 희안한 특수문자로 넣는데, 저에겐 안 통합니다. -_-



    // 필터
    $keyword_filter = preg_replace("/([a-z_0-9_\-\_. ])/i", "", $_POST['wr_subject'].$_POST['wr_content']);
    $keyword_filter = str_replace("★", "", $keyword_filter);
    $keyword_filter = str_replace("☆", "", $keyword_filter);
    $keyword_filter = str_replace("●", "", $keyword_filter);
    $keyword_filter = str_replace("◆", "", $keyword_filter);
    $keyword_filter = str_replace("■", "", $keyword_filter);
    $keyword_filter = str_replace("▲", "", $keyword_filter);
    $keyword_filter = str_replace("▼", "", $keyword_filter);
    $keyword_filter = str_replace("◀", "", $keyword_filter);
    $keyword_filter = str_replace("▶", "", $keyword_filter);
    $keyword_filter = str_replace("♥", "", $keyword_filter);

    // 필터
    if (stristr($keyword_filter, '섹스') ||
    stristr($keyword_filter, '보지') ||
    stristr($keyword_filter, '바카라') ||
    stristr($keyword_filter, '신천지') ||
    stristr($keyword_filter, '토토') ||
    stristr($keyword_filter, '포커') ||
    stristr($keyword_filter, '바카라') ||
    stristr($keyword_filter, '카지노') ||
    stristr($keyword_filter, '무료도메인') ||
    stristr($keyword_filter, '비아그라') ||
    stristr($keyword_filter, '시알리스') ||
    stristr($keyword_filter, '씨알리스') ||
    stristr($keyword_filter, '경마') ||
    stristr($keyword_filter, '이메일 발송기') ||
    stristr($keyword_filter, '카페 수집기') ||
    stristr($keyword_filter, '이메일 추출') ||
    stristr($keyword_filter, '성인겜방송') ||
    stristr($keyword_filter, '대포통장') ||
    stristr($keyword_filter, '성인방송') ||
    stristr($keyword_filter, '포커')) {

        goto_url("{$g4[path]}/404.html");

    }
|

댓글 1개

한글의 경우 stristr 제대로 되나요?
예전에 사용할때 한글이 깨진것 같아서요.
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

태그 필터 (최대 3개) 전체 개발자 소스 기타 mysql 팁자료실 javascript php linux flash 정규표현식 jquery node.js mobile 웹서버 os 프로그램 강좌 썸네일 이미지관련 도로명주소 그누보드5 기획자 견적서 계약서 기획서 마케팅 제안서 seo 통계 서식 통계자료 퍼블리셔 html css 반응형 웹접근성 퍼블리싱 표준화 반응형웹 홈페이지기초 부트스트랩 angularjs 포럼 스크린리더 센스리더 개발자톡 개발자팁 퍼블리셔톡 퍼블리셔팁 기획자톡 기획자팁 프로그램강좌 퍼블리싱강좌
+
제목 글쓴이 날짜 조회
15년 전 조회 1,301
15년 전 조회 1,037
15년 전 조회 1,051
15년 전 조회 978
15년 전 조회 1,125
15년 전 조회 1,030
15년 전 조회 1,628
15년 전 조회 874
15년 전 조회 835
15년 전 조회 1,474
15년 전 조회 1,372
15년 전 조회 1,322
15년 전 조회 888
15년 전 조회 1,666
15년 전 조회 1,051
15년 전 조회 1,715
15년 전 조회 2,069
15년 전 조회 1,494
15년 전 조회 7,693
15년 전 조회 1,130
15년 전 조회 1,343
15년 전 조회 1,069
15년 전 조회 1,294
15년 전 조회 1,058
15년 전 조회 1,273
15년 전 조회 992
15년 전 조회 2,102
15년 전 조회 1,113
15년 전 조회 1,013
15년 전 조회 1,505
15년 전 조회 1,393
15년 전 조회 1,128
15년 전 조회 995
15년 전 조회 1,033
15년 전 조회 1,335
15년 전 조회 895
15년 전 조회 975
15년 전 조회 1,166
15년 전 조회 1,866
15년 전 조회 1,185
15년 전 조회 1,272
15년 전 조회 1,055
15년 전 조회 983
15년 전 조회 1,364
15년 전 조회 1,814
15년 전 조회 1,099
15년 전 조회 1,433
15년 전 조회 1,704
15년 전 조회 1,063
15년 전 조회 987
15년 전 조회 1,141
15년 전 조회 1,210
15년 전 조회 1,015
15년 전 조회 1,293
15년 전 조회 1,375
15년 전 조회 1,295
15년 전 조회 3,211
15년 전 조회 884
15년 전 조회 1,447
15년 전 조회 1,034
15년 전 조회 1,843
15년 전 조회 808
15년 전 조회 968
15년 전 조회 956
15년 전 조회 980
15년 전 조회 1,713
15년 전 조회 3,021
15년 전 조회 2,096
15년 전 조회 2,010
15년 전 조회 997
15년 전 조회 1,101
15년 전 조회 1,050
15년 전 조회 926
15년 전 조회 1,215
15년 전 조회 933
15년 전 조회 1,374
15년 전 조회 823
15년 전 조회 727
15년 전 조회 1,618
15년 전 조회 867
15년 전 조회 1,318
15년 전 조회 1,186
15년 전 조회 858
15년 전 조회 881
15년 전 조회 790
15년 전 조회 758
15년 전 조회 933
15년 전 조회 1,185
15년 전 조회 2,357
15년 전 조회 947
15년 전 조회 1,035
15년 전 조회 1,076
15년 전 조회 1,068
15년 전 조회 1,147
15년 전 조회 751
15년 전 조회 2,012
15년 전 조회 859
15년 전 조회 1,668
15년 전 조회 813
15년 전 조회 823