fileUpload('upfile'); $sourcePath = $stmp['sourcefile']; $upfileError = $stmp['error']; } elseif (isset($_POST['inputfile'])) //输入目录或者文件 { $sourcePath = $_POST['inputfile']; } elseif (isset($_POST['decompresssourcefiles'])) //解压缩提交 { $isDecompress = $zip->decompress($_POST['decompresssourcefiles'], $_POST['topath']); if (!empty($isDecompress['filelist'])) { $href = '