github组件使用方法汇集--[归档]
<h5>pclzip压缩解压缩使用方法:</h5><pre>
// 主文件:pclzip.lib.php
// 官方:https://www.phpconcept.net/pclzip
// 使用方法:https://github.com/vikyd/pclzip-doc-zh-cn
// 压缩文件、目录使用示例
require_once('pclzip.lib.php');
$archive = new PclZip("ckeditor_for_discuz.zip");
$ret = $archive->create('data/ccc.log, folder');
if ($ret == 0) {
exit("Error : ".$archive->errorInfo(true));
}
</pre>
<br />
<br />
页:
[1]