ZipArchive::addFromString()
ZipArchive::addFromString - Add a file to a ZIP archive using its contentsSyntax
bool ZipArchive::addFromString (string $localname, string $contents)Arguments
- localname - The name of the entry to create.
- contents - The contents to use to create the entry. It is used in a binary safe mode.
