摘要: $zip=new ZipArchive; if($zip->open('test.zip',ZipArchive::CREATE) TRUE){ $zip->addFile('image.txt');//假设在当前路径下加入的文件名是image.txt $zip->close(); } 功能:默认打 阅读全文
posted @ 2017-03-08 17:45 闫月Emily 阅读(1497) 评论(0) 推荐(0) 编辑