Re: meaning or 'flags' in ZipArchive->open() ?
| From: | Christoph Becker | Date: | Fri, 10 Apr 2015 00:43:15 +0000 |
| Subject: | Re: meaning or 'flags' in ZipArchive->open() ? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-324798@lists.php.net to get a copy of this message | ||
Maciek Sokolewicz wrote:
> The manual itself shows you a ton of examples:
> http://www.php.net/manual/en/zip.examples.php [...].
Thanks for pointing out this man page. The (currently) top-most comment
(by "info at peterhofer dot ch") clarifies an issue that came up
recently on this mailing list[1], namely that insufficient permissions
to create the zip file will not be reported when calling
ZipArchive::open(), but rather when calling ZipArchive::close(). In my
opinion it is important to have a respective note on the
ZipArchive::open() man page.
[1] <http://news.php.net/php.general/324790>
--
Christoph M. Becker