Re: ZipArchive create problem
| From: | Jeffry Killen | Date: | Mon, 13 Apr 2015 05:52:50 +0000 |
| Subject: | Re: ZipArchive create problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-324802@lists.php.net to get a copy of this message | ||
solved, but the manual does not mention this explicitly:
ZipArchive will NOT create an empty zip Archive.
I added call to addFromString('some.txt', 'initialize')
And presto, there is the test.zip file.