iframe으로 submit 시 파일 첨부 오류
바니린
6년 전
조회 3,984
글쓰기를 하면 iframe으로 보내서 창이 넘어가지 않고 submit 되게 만들었는데요
글 작성이 잘 되는데 파일 첨부만 안되더라구요
어느 부분을 보면 파일 첨부가 되게 수정할 수 있을까요?
window.open('','pop_name1');
document.fwrite1.method = "post";
document.fwrite1.action = "http://kocoa.org/bbs/write_update.php"
document.fwrite1.target="pop_name1";
document.fwrite1.submit();
자바스크립트는 이런식으로 썼구요
<input type="file" name="bf_file[]" title="파일첨부 1 : 용량 <?php echo $upload_max_filesize ?> 이하만 업로드 가능" class="frm_file frm_input">
파일 첨부는 이렇게 들어가 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변 2개
답변을 작성하려면 로그인이 필요합니다.
로그인