update : 2015.11.03
php.shukuma.com검색:
|
ZipArchive::addFromString(PHP 5 >= 5.2.0, PECL zip >= 1.1.0) ZipArchive::addFromString — Add a file to a ZIP archive using its contents 설명
bool ZipArchive::addFromString
( string
$localname
, string $contents
)Add a file to a ZIP archive using its contents. 인수
반환값
성공 시 예제Example #1 Add an entry to a new archive
<?php Example #2 Add file to a directory inside an archive
<?php |