PHP 中的 zip_entry_open() 函数
该zip_entry_open()函数用于打开一个zip存档条目以供阅读。
语法
zip_entry_open(zip_file,zip_entry,mode)
参数
zip_file-要读取的zip文件
zip_entry-要打开的zip条目。
mode-zip存档所需的访问类型
返回
该zip_entry_open()函数成功时返回TRUE,失败时返回FALSE。
示例
");
$flag = zip_entry_close($zip_entry);
if ($flag == true)
echo("$file . " closed!");
zip_close($zip_file);
?>输出结果new/one is opened now! new/one closed!
热门推荐
10 新人红包祝福语简短精辟
11 幼师给毕业祝福语简短
12 生日高考祝福语妹妹简短
13 下飞机祝福语简短英文
14 元宵发客户祝福语简短
15 爸妈金婚文案祝福语简短
16 新郎朋友红包祝福语简短
17 虎年五一祝福语大全简短
18 出阁宴祝福语姐姐简短