wjdashwood
asked on
Decompress/deflate/unzip compressed file
I have a reseller account but do not have shell access and I frequently upload via FTP large php applications which take forever because of all the small files. It would be much better if I could upload a zip or gzip file and then execute a command to decompress the file. I believe this is possible with shell commands but is it possible to do this in PHP or by another method available to me?
Many thanks!
Many thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
the solution is really depending on your installation and platform.
ASKER
Is it me or is EE having problems today?
Yes I guess I must have some zip libraries already installed with my host.
Yes I guess I must have some zip libraries already installed with my host.
yes EE is difficult to access at time.
Could you close the question if your are happy with any answer?
Could you close the question if your are happy with any answer?
ASKER
Yay! Finally managed to award points. EE seems to be working for me again.
ASKER
<?php
shell_exec("unzip $zip_file");
?>
Thanks for both answers!