I have a KMZ file stored in MySQL as a blob. KMZ file uses PKZIP compression. How can I unzip the file using PHP?
+1
A:
zip_open() on a temp file or popen /usr/bin/unzip
this sample shows the basic traversal with zip_open/zip_read
jspcal
2009-12-25 04:36:49
Thanks for your prompt reply. Any chance that I get a rough example?Thank you.
2009-12-25 04:50:56
It appears to be a complex way that the string has to be saved first as a file and then unzipped. I thought it was possible to more a more transparent way that hide the complexity somehow.Thanks again.
2009-12-25 05:11:19