zip_entry_open Open a directory entry for reading php函数


zip_entry_open

(PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PECL zip >= 1.0.0)

zip_entry_openOpen a directory entry for reading

说明

bool zip_entry_open ( resource $zip , resource $zip_entry [, string $mode ] )

Opens a directory entry in a zip file for reading.

参数

zip

A valid resource handle returned by zip_open().

zip_entry

A directory entry returned by zip_read().

mode

Any of the modes specified in the documentation of fopen().

Note:

Currently, mode is ignored and is always "rb". This is due to the fact that zip support in PHP is read only access.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE.

Note:

Unlike fopen() and other similar functions, the return value of zip_entry_open() only indicates the result of the operation and is not needed for reading or closing the directory entry.

参见



相关阅读:
zip_entry_read Read from an open directory entry
zip_open Open a ZIP file archive
zip_read Read next entry in a ZIP file archive
zlib_get_coding_type Returns the coding type used for output compression
PHP JSON格式数据交互实例代码详解
setTimeout 不断吐食CPU的问题分析
PHP,ASP.JAVA,JAVA代码格式化工具整理
部分网站允许空白referer的防盗链图片的js破解代码
简易方法实现网页图片防盗链设置
浅谈网页中各种链接引用方法
Tuning工具Statspack的几个使用误区
教你迅速手动定制Windows XP系统的启动画面
破除一些网站复制、右键限制
如何在MySQL数据库中定义外键
快速导航

Copyright © 2016 phpStudy |