답변 2개 / 댓글 6개
채택된 답변
+20 포인트
http://php.net/manual/en/features.file-upload.errors.php
UPLOAD_ERR_INI_SIZE
위 에러가 일어나면
The uploaded file exceeds the upload_max_filesize directive in php.ini
메시지를 리턴합니다.
UPLOAD_ERR_FORM_SIZE
위 에러가 일어나면
The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form
메시지를 리턴합니다.
UPLOAD_ERR_EXTENSION
위 에러가 일어나면 post_max_size 에 관련된 에러가 일어나면
The uploaded file exceeds the post_max_size directive in php.ini
메시지를 리턴합니다.
질문한 내용의 이미지를 보니 에러 메시지는 아래와 같이 나옵니다.
The uploaded file e ( 칸이 모자라 텍스트가 잘려서 저렇게 나온겁니다.)
UPLOAD_ERR_INI_SIZE, UPLOAD_ERR_FORM_SIZE, UPLOAD_ERR_EXTENSION
셋 중 하나입니다만,
php.ini 에서 upload_max_filesize 값과 post_max_size 값을 먼저 확인해 보세요.
답변에 대한 댓글 5개
답변을 작성하려면 로그인이 필요합니다.
