모바일 빌더 사용하는데요.. 댓글에 div 혹은 font 와 같은 태그 들어가 있는 경우 정보
모바일 빌더 사용하는데요.. 댓글에 div 혹은 font 와 같은 태그 들어가 있는 경우관련링크
본문
댓글 전체
strip_tags() 써서 코멘트 출력에서 태그를 모두 지워보세요
strip_tags() 와 htmlspecialchars() 태그를 어디다 넣어야 할지 모르겠습니다 ㅠㅠ
자문자답 합니다.
림스모바일빌더 (inc.cmt.php) 에서
<div class="cmt_centent">부분의 ecro $str; 윗줄에
아래 한줄 작성하며 됩니다.
$str = html_entity_decode(strip_tags($str));
림스모바일빌더 (inc.cmt.php) 에서
<div class="cmt_centent">부분의 ecro $str; 윗줄에
아래 한줄 작성하며 됩니다.
$str = html_entity_decode(strip_tags($str));