|
PHP5中文手册
ZipArchive::getStream(No version information available, might be only in CVS) ZipArchive::getStream — Get a file handler to the entry defined by its name (read only). 说明
resource ZipArchive::getStream
( string $name
)
Get a file handler to the entry defined by its name. For now it only supports read operations. 参数
返回值Returns a file pointer (resource) on success or FALSE on failure. 范例Example#1 Get the entry contents with fread and store it.
<?php Example#2 Same as the previous example but with fopen and the zip stream wrapper
<?php Example#3 Stream wrapper and image, can be used with the xml function as well
<?php |