tags:

views:

62

answers:

1

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
Thanks for your prompt reply. Any chance that I get a rough example?Thank you.
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.