I wrote this code to create a ZIP file and to save it. But somehow it just doesn\'t show any error, but it doesn\'t create a ZIP file either. Here\'s the code:
$
There are 2 cases when zip doesn't generate the error.
zip->close
is called then the archive
will fail and your zip file won't be created.