Home  >  Article  >  Backend Development  >  php读取zip诠释

php读取zip诠释

WBOY
WBOYOriginal
2016-06-13 12:29:05823browse

php读取zip注释

<code>$za = new ZipArchive();$za->open('0816.tmt');$comment = $za->getArchiveComment();//如果需要转字符串编码$comment= iconv("gbk","UTF-8",$comment);</code>

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn