note 93095 added to class.ziparchive
| From: | phpatiancocouk at osu1 dot php dot net | Date: | Sun, 23 Aug 2009 10:23:44 +0000 |
| Subject: | note 93095 added to class.ziparchive | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-159797@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 92.48.74.199
Probable Submitter: 84.92.139.196
----
Manual Page -- http://www.php.net/manual/en/class.ziparchive.php
Edit -- https://master.php.net/note/edit/93095
Del: integrated -- https://master.php.net/note/delete/93095/integrated
Del: useless -- https://master.php.net/note/delete/93095/useless
Del: bad code -- https://master.php.net/note/delete/93095/bad+code
Del: spam -- https://master.php.net/note/delete/93095/spam
Del: non-english -- https://master.php.net/note/delete/93095/non-english
Del: in docs -- https://master.php.net/note/delete/93095/in+docs
Del: other reasons-- https://master.php.net/note/delete/93095
Reject -- https://master.php.net/note/reject/93095
Search -- https://master.php.net/manage/user-notes.php