Home › 게시판 › 커뮤니티 › Q&A › 파일업로드 기능에서 확장자 php나 html 가능하게 할 수 없나요?? 2개 답변, 3 voices Last updated by Matthew Park 9 years, 3 months 전 두부Participant @orangeheim 2016/05/13 11:45 오전 #31189 기본 파일추가 기능을 사용할 때 문서파일은 업로드가 되는데 확장자가 html이나 php인건 업로드가 안되더라구요ㅜㅜ 방법이 없을까요?? 두부 codeiParticipant @codei 2016/05/13 1:54 오후 #31190 없는 건 아니지만 보안상 안 하시는 것을 추천해 드립니다. 웹상에서 php 파일 업로드 되면, 그 사이트 그냥 통째로 털어 갈수 있습니다. codei Matthew ParkModerator @hackya 2016/05/13 9:51 오후 #31193 워드프레스에 기본적으로 허용되는 mime types 에는 보안관련상 php 나 html 은 포함되어 있지 않습니다. https://codex.wordpress.org/Function_Reference/get_allowed_mime_types php 나 html 을 허용하시려면 filter 로 $mime_types 를 추가하시면 되지만, codei 님 말씀데로 사이트를 통째로 날리고 싶지 않는 이상 하지 말아야죠. Matthew Park Attorney, front-end developer, digital media artist, WordPress enthusiast, & a father of 4 wonderful children. Lives in Colorado. Author Posts 3 글 보임 - 1에서 3 까지 (총 3 중에서) 답변은 로그인 후 가능합니다. 로그인 아이디: 패스워드: 회원 등록 유지 로그인