note 78667 added to function.ziparchive-close

From: Date: Mon, 22 Oct 2007 18:16:53 +0000
Subject: note 78667 added to function.ziparchive-close
Groups: php.notes 
Request: Send a blank email to php-notes+get-131633@lists.php.net to get a copy of this message
Don't forget to check the zip isn't empty, folks - otherwise the zip won't be created at all, and the server will issue no warning! I used a certain loop to add files to the zip, and struggled with permissions and documentation for hours before I realize the loop ended up adding no file, even though addFile WAS called, but on a non-existent file. This might be the reason your zips aren't popping up. ---- Server IP: 212.199.163.191 Probable Submitter: 194.90.189.52 ---- Manual Page -- http://www.php.net/manual/en/function.ziparchive-close.php Edit -- https://master.php.net/note/edit/78667 Del: integrated -- https://master.php.net/note/delete/78667/integrated Del: useless -- https://master.php.net/note/delete/78667/useless Del: bad code -- https://master.php.net/note/delete/78667/bad+code Del: spam -- https://master.php.net/note/delete/78667/spam Del: non-english -- https://master.php.net/note/delete/78667/non-english Del: in docs -- https://master.php.net/note/delete/78667/in+docs Del: other reasons-- https://master.php.net/note/delete/78667 Reject -- https://master.php.net/note/reject/78667 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#131633) next »