php读取zip注释

$za = new ZipArchive();

$za->open('0816.tmt');

$comment = $za->getArchiveComment();
//如果需要转字符串编码
$comment= iconv("gbk","UTF-8",$comment);

转载自:http://www.9958.pw/post/php_zip_comment

相关推荐