<pre></pre><div style="text-align:left;">자꾸 질문 드려서 죄송합니다. 고민을 풀 곳이 오유 게시판밖에 없어서.....</div><div style="text-align:left;">네이버 스마트 에디터 사진을 올릴려고 하는데 node js 기반이라 어떻게 할지 끙끙 앓다가 결국엔</div><div style="text-align:left;">네이버에서 제공하는 php언어를 해석해서 node js 로 다시 작성하자 라는 결론이 나왔습니다...</div><div style="text-align:left;"><br></div><div style="text-align:left;">우선</div><div style="text-align:left;"><br></div><div style="text-align:left;"><br></div><div style="text-align:left;"><div style="text-align:left;"><img src="http://thimg.todayhumor.co.kr/upfile/201506/14345227148ueN9yS58S.jpg" width="707" height="484" alt="에러4.JPG" style="border:none;"></div>이놈이 tempFile에 담긴 파일 정보를 php로 보냅니다. 아래는 이미지 파일을 업시켜주는 php 소스 입니다 ( 네이버 제공 )</div><div style="text-align:left;">참고로 tempFile의 정보는 아래의 사진과 같습니다</div><div style="text-align:left;"><div style="text-align:left;"><img src="http://thimg.todayhumor.co.kr/upfile/201506/1434522890KsQ1OM7hb3Ka1rN.jpg" width="572" height="159" alt="파일.JPG" style="border:none;"></div><br></div><div style="text-align:left;"><br></div><div style="text-align:left;"><br></div><div style="text-align:left;">제 나름대로 느낌으로 주석좀 넣어 보겠습니다. </div><div style="text-align:left;"><br></div><pre></pre><pre></pre><pre></pre><pre><span style="color:#ff0000;line-height:24px;font-family:'굴림체';font-size:small;">// size란 변수에 파일 크기를 넣는다 (59553)</span><span style="color:#ff0000;line-height:24px;font-family:'굴림체';font-size:small;">// 이부분을 모르겠습니다</span><span style="color:#ff0000;line-height:24px;font-family:'굴림체';font-size:small;">// 확장명 체크를 위한 변수</span><span style="color:#ff0000;line-height:24px;font-family:'굴림체';font-size:small;">// 이부분은 파일이 업로드될 경로 같습니다</span><span style="color:#ff0000;line-height:24px;font-family:'굴림체';font-size:small;">// 이미지 업로드 전에 폴더를 생성?</span></pre><pre></pre><pre><br></pre><pre><br></pre><pre></pre><pre><span style="line-height:24px;font-family:'굴림체';font-size:small;"> $file = new stdClass; 이부분과</span></pre><pre></pre><pre></pre><pre></pre>
댓글 분란 또는 분쟁 때문에 전체 댓글이 블라인드 처리되었습니다.