PHP » GoLang |
login |
register |
about
|
GoLang ZipArchive::addFromString
request it (374)
GoLang replacement for PHP's ZipArchive::addFromString
[edit | history]
ZipArchive::addFromString(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.1.0) ZipArchive::addFromString — Add a file to a ZIP archive using its contents Description
bool ZipArchive::addFromString
( string
$localname
, string $contents
)Add a file to a ZIP archive using its contents.
Parameters
Return Values
Returns ExamplesExample #1 Add an entry to a new archive
<?php Example #2 Add file to a directory inside an archive
<?php |
more
Recently updated
more
Most requested
more
Last requests
|