单文件压缩<?php$zip = new ZipArchive();$zip_filename = "img/".time().".zip"; //...