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. ПримерыПример #1 Get the entry contents with fread and store it.
<?phpПример #2 Same as the previous example but with fopen and the zip stream wrapper
<?phpПример #3 Stream wrapper and image, can be used with the xml function as well
<?php |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |