摘要:
PHP zip压缩文件及解压 利用ZipArchive 类实现只有有函数。界面大家自己写ZipArchive(PHP 5.3 + 已自带不需要安装dll) 1 /** 2 * 文件解压 3 * @param $zipFile 要解压的文件 4 * @param $toPath 解压到拿个目录 5 * @return bool 6 */ 7 function zipExtract($zipFile, $toPath) 8 { 9 if (empty($zipFile) || empty($toPath)) return false;10 $zip = new... 阅读全文
posted @ 2013-12-23 18:14
iyoule
阅读(297)
评论(0)
推荐(0)

浙公网安备 33010602011771号