View Single Post
Old 3rd June 2008, 09:09 PM   #17 (permalink)
percepts
Senile Member
 
percepts's Avatar
 
Join Date: Mar 2005
Posts: 1,024
in php you can unzip a .gz file simply with the command

exec("gzip -d myfile.gz");

so I suspect, although I haven't tried it, you can do the same with tar files using:

exec("tar -zxvf myfile.tar.gz");


give it a whirl and see what happens....
__________________
An old dog learning new tricks
percepts is offline   Reply With Quote