|
ZipArchive::addFromStringAdd 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 |