ZipArchive, but without files
| From: | Jonathan Mills | Date: | Wed, 22 Sep 2010 09:16:30 +0000 |
| Subject: | ZipArchive, but without files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-308250@lists.php.net to get a copy of this message | ||
Is it possible to create a ZipArchive to a non-file storage, eg string?
I want to create a small zip of some data, and then load it into a database.
I don't need the intermediate file.
I tried various filters, and I can READ a zip archive with the
"data://" wrapper, but haven't found any way of creating the data
other than in a file yet.
Jonathan