Tuesday 30 July 2019

how to unzip zip files in php

My gallery script provides me with the option to upload a bunch of images through a zip file.
When I try to do this I receive the error line:

Fatal error: Call to undefined function: zip_open() in ..



Heres an extract of the phpinfo:



ZLib Support: enabled
Compiled Version: 1.1.4
Linked Version: 1.1.4



zlib.output_compression: Off
zlib.output_compression_level: -1

zlib.output_handler: no value



Zlib is enabled .. so why do I receive that error message?
Thank you for helping me.

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...