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 -- h
ttps://master.php.net/note/delete/78667/integrated
Del: useless -- http
s://master.php.net/note/delete/78667/useless
Del: bad code -- htt
ps://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 -- http
s://master.php.net/note/delete/78667/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78667
Reject -- https://mast
er.php.net/note/reject/78667
Search -- https://
master.php.net/manage/user-notes.php
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|