note 100638 added to zip.examples
| From: | markhi at ufl dot edu | Date: | Wed, 27 Oct 2010 20:01:39 +0000 |
| Subject: | note 100638 added to zip.examples | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-173518@lists.php.net to get a copy of this message | ||
Example #1, creating a zip, will fail because of the line:
$zip->addFile($thisdir . "/too.php","/testfromfile.php");
unless you have the too.php and testfromfile.php files in your active directory. Open gives no
error and close just gives fail. Remove the line and the example works without having to add any
files.
----
Server IP: 69.147.83.197
Probable Submitter: 209.251.147.31
----
Manual Page -- http://www.php.net/manual/en/zip.examples.php
Edit -- https://master.php.net/note/edit/100638
Del: integrated -- https://master.php.net/note/delete/100638/integrated
Del: useless -- https://master.php.net/note/delete/100638/useless
Del: bad code -- https://master.php.net/note/delete/100638/bad+code
Del: spam -- https://master.php.net/note/delete/100638/spam
Del: non-english -- https://master.php.net/note/delete/100638/non-english
Del: in docs -- https://master.php.net/note/delete/100638/in+docs
Del: other reasons-- https://master.php.net/note/delete/100638
Reject -- https://master.php.net/note/reject/100638
Search -- https://master.php.net/manage/user-notes.php