검색에러가 나오는데요. 정보
검색에러가 나오는데요.
본문
검색을 해보면.
Warning: stristr() [function.stristr]: Empty delimiter. in /home/hosting_users/lovingyou3/www/kawsay/bbs/search.php on line 15
이러한 에러가 나오는데 해결 방법이 있을까요?
{
$filters = explode(",", $config[cf_filter]);
for ($i=0; $i<count($filters); $i++) {
$s = trim($filters[$i]); // 필터단어의 앞뒤 공백을 없앰
이부분이 15번째 입니다 if (stristr($stx, $s)) {
alert("금지단어(\'{$s}\')가 포함되어 있습니다.");
exit;
}
}
Warning: stristr() [function.stristr]: Empty delimiter. in /home/hosting_users/lovingyou3/www/kawsay/bbs/search.php on line 15
이러한 에러가 나오는데 해결 방법이 있을까요?
{
$filters = explode(",", $config[cf_filter]);
for ($i=0; $i<count($filters); $i++) {
$s = trim($filters[$i]); // 필터단어의 앞뒤 공백을 없앰
이부분이 15번째 입니다 if (stristr($stx, $s)) {
alert("금지단어(\'{$s}\')가 포함되어 있습니다.");
exit;
}
}
댓글 전체
if ($s && stristr($stx, $s)) {
로 수정 후 결과 확인 해 보세요.
로 수정 후 결과 확인 해 보세요.
사노라가노라 님 감사합니다.
에러없이 잘 아오네요^^
에러없이 잘 아오네요^^
저도 감사 드립니다.