note 93095 deleted from class.ziparchive by danbrown
| From: | danbrown@php.net | Date: | Sun, 23 Aug 2009 17:07:00 +0000 |
| Subject: | note 93095 deleted from class.ziparchive by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-159813@lists.php.net to get a copy of this message | ||
Note Submitter: php at ianco co uk
----
Has anyone had addFile working with PHP 5.2 on Windows XP?
I can create an archive and add a file, but it is always corrupt. status and numFiles are 0. These
are only small files (I have tried txt and jpg).
An archive is created on disc, and has the sort of size I would expect. But trying to reopen the
archive returns 19, which I believe is
ZIPARCHIVE::ER_NOZIP.
Windows also reports the file is invalid or corrupt.
addFromString works ok.