엑셀 업로드가 잘 되던게
엑셀 업로드 처리 파일에서 갑자기
The filename /tmp/phpIZpVTo is not readable
이런 오류가 나서
include_once(G5_LIB_PATH.'/Excel/reader.php');
파일을 확인해보니 아래 함수인데.. 도대체 왜 갑자기 이런 오류가 나는지 도저히 모르겠네요
비슷한 증상 겪은분 있으신가요?
$res = $this->_ole->read($sFileName);
// oops, something goes wrong (Darko Miljanovic)
if($res === false) {
// check error code
if($this->_ole->error == 1) {
// bad file
die('The filename ' . $sFileName . ' is not readable');
}
// check other error codes here (eg bad fileformat, etc...)
}
$this->data = $this->_ole->getWorkBook();
답변 2개
채택된 답변
+20 포인트
답변을 작성하려면 로그인이 필요합니다.