Hi can anyone show me a working example of how to use gzip to decompress a file. I have read the docs at PHP help and I did not find the desired function. Start at this example of code <?php $filename = $filename.'.gz'; ..... some gUnzip functions to extract filename.gz .... Server: Apache, PHP Ver: 5.2.5 Alex
Can you make a (linux) system call? echo system("gunzip2 $filename 2>&1"); PHP: The file will now go from $filename.gz to just $filename. Jay
I have a shared hosting... sorry, i dont know about root.. Tell me what i should install and how? Thank you
How about: echo system("/bin/gunzip $filename 2>&1"); PHP: or echo system("gunzip $filename 2>&1"); PHP: Jay