Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: zip_entry_open - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

zip_entry_read" width="11" height="7"/> <zip_entry_name
Last updated: Fri, 05 Sep 2008

view this page in

zip_entry_open

(PHP 4 >= 4.0.7, PHP 5 >= 5.2.0, PECL zip:1.0-1.9.0)

zip_entry_open読込み用にディレクトリエントリをオープンする

説明

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

読込み用にzipファイルの中にディレクトリエントリをオープンします。

パラメータ

zip

zip_open()により返された有効なリソースハンドル

zip_entry

zip_read()により返されたディレクトリエントリ

mode

fopen()のマニュアルで指定されたモードのどれか

注意: 現在、mode は無視され、 常に"rb"となります。 これは、PHPのzipサポートが読み込みのみのアクセスであるためです。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

注意: fopen()や他の同種の関数と異なり、 zip_entry_open()の戻り値は、 処理の結果のみを示し、ディレクトリエントリの読み込みやクローズの際には 必要とされません。



add a note add a note User Contributed Notes
zip_entry_open
Anonymous
11-May-2008 10:14
Note: Currently, mode  is ignored and is always "rb". This is due to the fact that zip support in PHP is read only access.

"rb" is not a mode. Must be "r"

zip_entry_read" width="11" height="7"/> <zip_entry_name
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites