目录结构:
test
test/index.php
test/test_zip.zip
test/test_zip
<span xss=removed><?php
header('Content-type:text/html;charset=utf-8');
$filename = 'test_zip.zip';
$path = './test_zip.zip';
$dir = 'test_zip';
if(!is_dir($dir)) {
mkdir($dir, 0777, true);//创建目录保存解压内容
}
if(file_exists(