Closed akairain closed 10 years ago
Windows 서버에서는 tmp_name 상에 있는 파일로 이미지 사이즈를 구하는 것이 올바르게 작동하지 않습니다.
$file['tmp_name'] 으로 구하는 부분을 업로드 처리가 완료된 후, $attachment['path'] 값으로 이미지 사이즈를 구하도록 수정하여야 Windows 서버에서 올바르게 작동합니다.
Windows 서버에서는 tmp_name 상에 있는 파일로 이미지 사이즈를 구하는 것이 올바르게 작동하지 않습니다.
$file['tmp_name'] 으로 구하는 부분을 업로드 처리가 완료된 후, $attachment['path'] 값으로 이미지 사이즈를 구하도록 수정하여야 Windows 서버에서 올바르게 작동합니다.