随笔分类 -  php

摘要:一使用内部扩展实现(>=php5)①解压缩文件functionunzip_file($file,$destination){//createobject$zip=newZipArchive();//openarchiveif($zip->open($file)!==TRUE){die('Couldnotopenarchive');}//extractcontentstodestinationdirectory$zip->extractTo($destination);//closearchive$zip->close();echo'Archive 阅读全文
posted @ 2013-11-01 17:07 郭郭哥 阅读(410) 评论(0) 推荐(0)