note 100638 rejected from zip.examples by danbrown
| From: | danbrown@php.net | Date: | Wed, 27 Oct 2010 20:10:48 +0000 |
| Subject: | note 100638 rejected from zip.examples by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173519@lists.php.net to get a copy of this message | ||
Note Submitter: markhi at ufl dot edu
----
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.