update : 2015.11.03
php.shukuma.com검색:
|
ZipArchive::getStream(PHP 5 >= 5.2.0, PECL zip >= 1.1.0) 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실패 시 예제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 |