파일업로드 (2) 썸네일형 리스트형 [ PHP ] class.upload.php class.upload.php samples, a files uploading and images manipulation PHP classThese images are created by the class.upload.php test suite, that you can download part of the package. original file image/png - 150 x 100 - 35.25KB width 50, height auto image/png - 50 x 33 - 4.75KB $foo->image_resize = true; $foo->image_ratio_y = true; $foo->image_x = 50;height 50, width auto image/png - 75 x 50 - 10.. [PHP]파일 업로드 관련 $_FILES['userfile']['name'] 클라이언트 머신에 존재하는 파일의 원래 이름. $_FILES['userfile']['type'] 브라우저가 이 정보를 제공할 경우에, 파일의 mime 형식. 예를 들면 "image/gif". $_FILES['userfile']['size'] 업로드된 파일의 바이트로 표현한 크기. $_FILES['userfile']['tmp_name'] 서버에 저장된 업로드된 파일의 임시 파일 이름. $_FILES['userfile']['error'] 파일 업로드에 관련한 에러 코드. ['error']는 PHP 4.2.0에서 추가되었습니다. move_uploaded_file(string filename, string destination) 임시 디렉토리에 업로드되어 저장되.. 이전 1 다음