addFromString()
addFromString(string $localname, string $contents)
Add a new file to the zip archive from a string of raw data.
Parameters
string |
$localname |
Directory/Name of the file to add to the zip archive |
string |
$contents |
String of data to add to the zip archive |