• Y
  • List All
  • Feedback
    • This Project
    • All Projects
Profile Account settings Log out
  • Favorite
  • Project
  • All
Loading...
  • Log in
  • Sign up
rosewiper / itsm_git star
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB
  • Files
  • Commit
  • Branches
itsm_gitsrcmainwebappse2photo_uploaderfile_uploader.php
Download as .zip file
File name
Commit message
Commit date
DATABASE
첫번째 커밋
06-19
service/impl
첫번째 커밋
06-19
src/main
첫번째 커밋
06-19
web
첫번째 커밋
06-19
.gitignore
첫번째 커밋
06-19
pom.xml
첫번째 커밋
06-19
searchQuery.sql
첫번째 커밋
06-19
File name
Commit message
Commit date
java/egovframework
첫번째 커밋
06-19
resources
첫번째 커밋
06-19
webapp
첫번째 커밋
06-19
File name
Commit message
Commit date
META-INF
첫번째 커밋
06-19
WEB-INF
첫번째 커밋
06-19
common
첫번째 커밋
06-19
crosseditor/binary/images
첫번째 커밋
06-19
css
첫번째 커밋
06-19
direct
첫번째 커밋
06-19
font-flexslider
첫번째 커밋
06-19
fonts
첫번째 커밋
06-19
html
첫번째 커밋
06-19
images
첫번째 커밋
06-19
img
첫번째 커밋
06-19
js
첫번째 커밋
06-19
se2
첫번째 커밋
06-19
sso
첫번째 커밋
06-19
email.txt
첫번째 커밋
06-19
engleftmenu03.html
첫번째 커밋
06-19
engleftmenu04.html
첫번째 커밋
06-19
engleftmenu05.html
첫번째 커밋
06-19
engleftmenu06.html
첫번째 커밋
06-19
index.jsp
첫번째 커밋
06-19
File name
Commit message
Commit date
css
첫번째 커밋
06-19
img
첫번째 커밋
06-19
js
첫번째 커밋
06-19
photo_uploader
첫번째 커밋
06-19
SmartEditor2.html
첫번째 커밋
06-19
SmartEditor2Skin.html
첫번째 커밋
06-19
SmartEditor2Skin_en_US.html
첫번째 커밋
06-19
SmartEditor2Skin_ja_JP.html
첫번째 커밋
06-19
SmartEditor2Skin_ko_KR.html
첫번째 커밋
06-19
SmartEditor2Skin_zh_CN.html
첫번째 커밋
06-19
SmartEditor2Skin_zh_TW.html
첫번째 커밋
06-19
SmartEditor2noframe.html
첫번째 커밋
06-19
smart_editor2_inputarea.html
첫번째 커밋
06-19
smart_editor2_inputarea_ie8.html
첫번째 커밋
06-19
File name
Commit message
Commit date
img
첫번째 커밋
06-19
attach_photo.js
첫번째 커밋
06-19
callback.html
첫번째 커밋
06-19
file_uploader.php
첫번째 커밋
06-19
file_uploader_html5.php
첫번째 커밋
06-19
jindo.fileuploader.js
첫번째 커밋
06-19
jindo.min.js
첫번째 커밋
06-19
photo_uploader.html
첫번째 커밋
06-19
photo_uploader.jsp
첫번째 커밋
06-19
rosewiper 06-19 7ef7d0e 첫번째 커밋 UNIX
Raw Open in browser Change history
<?php // default redirection $url = 'callback.html?callback_func='.$_REQUEST["callback_func"]; $bSuccessUpload = is_uploaded_file($_FILES['Filedata']['tmp_name']); // SUCCESSFUL if(bSuccessUpload) { $tmp_name = $_FILES['Filedata']['tmp_name']; $name = $_FILES['Filedata']['name']; $filename_ext = strtolower(array_pop(explode('.',$name))); $allow_file = array("jpg", "png", "bmp", "gif"); if(!in_array($filename_ext, $allow_file)) { $url .= '&errstr='.$name; } else { $uploadDir = '../../upload/'; if(!is_dir($uploadDir)){ mkdir($uploadDir, 0777); } $newPath = $uploadDir.urlencode($_FILES['Filedata']['name']); @move_uploaded_file($tmp_name, $newPath); $url .= "&bNewLine=true"; $url .= "&sFileName=".urlencode(urlencode($name)); $url .= "&sFileURL=upload/".urlencode(urlencode($name)); } } // FAILED else { $url .= '&errstr=error'; } header('Location: '. $url); ?>

          
        
    
    
Copyright Yona authors & © NAVER Corp. & NAVER LABS Supported by NAVER CLOUD PLATFORM

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up