note 70153 added to function.ziparchive-addfile

From: Date: Wed, 04 Oct 2006 21:35:58 +0000
Subject: note 70153 added to function.ziparchive-addfile
Groups: php.notes 
Request: Send a blank email to php-notes+get-118066@lists.php.net to get a copy of this message
documentation example has an extra parenthesis on the third line. the example should read: <?php $zip = new ZipArchive; if ($zip->open('test.zip') === TRUE) { $zip->addFile('/path/to/index.txt', 'newname.txt'); $zip->close(); echo 'ok'; } else { echo 'failed'; } ?> ---- Server IP: 216.194.113.175 Probable Submitter: 65.66.139.42 ---- Manual Page -- http://www.php.net/manual/en/function.ziparchive-addfile.php Edit -- https://master.php.net/note/edit/70153 Del: integrated -- https://master.php.net/note/delete/70153/integrated Del: useless -- https://master.php.net/note/delete/70153/useless Del: bad code -- https://master.php.net/note/delete/70153/bad+code Del: spam -- https://master.php.net/note/delete/70153/spam Del: non-english -- https://master.php.net/note/delete/70153/non-english Del: in docs -- https://master.php.net/note/delete/70153/in+docs Del: other reasons-- https://master.php.net/note/delete/70153 Reject -- https://master.php.net/note/reject/70153 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#118066) next »