ZipArchive class
| From: | Jeffry Killen | Date: | Sat, 14 Mar 2020 00:57:32 +0000 |
| Subject: | ZipArchive class | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327033@lists.php.net to get a copy of this message | ||
Hello again;
I am again trying to tame the ZipArchive class.
My current question is:
So I create an empty dir and I want to add a
file to the empty dir:
Can I use addFile and have it placed in the empty
dir as 'emptyDir/addedFile' ?
or is addFile only going to place it along side
of emptyDir.
I am not able to glean this from the manual.
I am concerned about downloading a single
directory for unzip on client system (Mac in my
case for local dev purposes) and having the
single dir show up with designated contents.
Thank you for time and attention;
JK