note 85714 added to zip.examples
| From: | info at peterhofer dot ch | Date: | Sat, 13 Sep 2008 16:03:48 +0000 |
| Subject: | note 85714 added to zip.examples | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-144397@lists.php.net to get a copy of this message | ||
All these examples will not work if the php script has no write access within the folder.
Although you may say this is obvious, I found that in this case, $zip->open("name",
ZIPARCHIVE::CREATE) doesn't return an error as it might not try to access the file system but
rather allocates memory.
It is only $zip->close() that returns the error. This might cause you seeking at the wrong end.
----
Server IP: 69.147.83.197
Probable Submitter: 84.72.102.28
----
Manual Page -- http://www.php.net/manual/en/zip.examples.php
Edit -- https://master.php.net/note/edit/85714
Del: integrated -- https://master.php.net/note/delete/85714/integrated
Del: useless -- https://master.php.net/note/delete/85714/useless
Del: bad code -- https://master.php.net/note/delete/85714/bad+code
Del: spam -- https://master.php.net/note/delete/85714/spam
Del: non-english -- https://master.php.net/note/delete/85714/non-english
Del: in docs -- https://master.php.net/note/delete/85714/in+docs
Del: other reasons-- https://master.php.net/note/delete/85714
Reject -- https://master.php.net/note/reject/85714
Search -- https://master.php.net/manage/user-notes.php