압축 파일을 압축 해제해야합니다. 추출 압축 파일은 작동하지만 추출 된 파일에 대한 쓰기 권한이 없습니다.filepermisson PHP에서 ZipArchive를 사용할 때의 문제
$res = $zip->open($this->importDirectory . 'archive.zip');
if ($res === TRUE) {
$zip->extractTo($this->importDirectory . 'somefolder/');
$zip->close();
}
누군가가 나를 도와 줘요 : D