답변 2개
bbs/write_update.php에서
//추가 //
$wr_subject = preg_replace('/\'/', '`', $wr_subject); // 제목
$wr_content = preg_replace('/\'/', ' 따옴표 대체문자 예로 ` ', $wr_content); // 본문
48라인: if ($w == "u" || $w == "r") {
이렇게 하시면 되지 않을까 하네요
http://php.net/manual/kr/function.preg-replace.php
여기를 참고해보세요
답변을 작성하려면 로그인이 필요합니다.