\n";
echo "[返回]抱歉,文件清单为空!\n";
echo "\n";
} else {
require "pclzip.php";
$pkzip = new pclzip($gopath = trim($_GET['gopath']));
echo "[目录]\n";
if ($pkzip->create($_SESSION['flist'], PCLZIP_OPT_REMOVE_PATH, dirname($gopath))) {
echo "文件 " . ___basename($gopath) . " 创建成功!";
} else {
echo "文件 " . ___basename($gopath) . " 无法建立!";
}
}
xhtml_footer();
?>