1/1 페이지 열람 중
$file_ext = $list->get("file_1"); $file_ext_array = explode(".", $file_ext); $file_ext_type = strtolower($file_ext_array[1]); $allow_file_type = array("gif", "jpg", "jpeg", "png", "bmp"); for ($k = 0; $k < sizeof($allow_file_type); $k++) { if ($file_ext_type == $allow_file_type[$k]) { $file_…
LYJ 쪽지보내기 메일보내기 자기소개 전체게시물 2009-01-28 17:18:18function chkUpload(){if(document.uploadPhoto.file.value == ""){alert('이미지 파일을 업로드 해주세요.');return false;}else if( (document.uploadPhoto.file.value.lastIndexOf(".jpg") == -1) && (document.uploadPhoto.file.value.lastIndexOf(".gif") == -1) ){alert('업로드는 jpg와 gif파일만 할 수 있습니다.'…
LYJ 쪽지보내기 메일보내기 자기소개 전체게시물 2011-11-18 12:35:13