php将文件夹打包成zip文件的简单实现方法 示例如下:functionaddFileToZip($path,$zip){$handler=opendir($path);//打开当前文件夹由$path指定。while(($ 成zip