여분필드에 tag를 넣으니
여분필드를 유투브의 주소로 활용하려고 맹글어 저장했더니
<iframe width=\"640\" height=\"360\" src=\"http://www.youtube.com/embed/KXTFc3fYqa4?feature=player_embedded\" frameborder=\"0\" allowfullscreen></iframe>
이런식으로 \" 처리가 되어 태그가 먹지 않습니다.
어떻게 해야하죠. 고수님들 답변점 부탁해요
<iframe width=\"640\" height=\"360\" src=\"http://www.youtube.com/embed/KXTFc3fYqa4?feature=player_embedded\" frameborder=\"0\" allowfullscreen></iframe>
이런식으로 \" 처리가 되어 태그가 먹지 않습니다.
어떻게 해야하죠. 고수님들 답변점 부탁해요
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 3개
iframe 소스는 게시판스킨의 보여질 부분에 소스를 넣으면 어떨까요...
<iframe width="640" height="360" src=\"http://www.youtube.com/embed/<?=여분필드?>?feature=player_embedded" frameborder="0" allowfullscreen></iframe>
이방법을 한번 써볼게요.
iframe 들어갈 수 있게 소스수정하면 해킹에 취약할 수 있을것 같기도하고. 답변 감사합니다.
게시판 글작성시 iframe를 넣을 수 있게 하는 경우 해킹에 취약합니다.