Jump to content

How to unpack a .tar.gz file on the host ?


pwired
 Share

Recommended Posts

Hi

I need to unpack a file.tar.gz on my host.

However my host only unpacks .zip files

and I can not use exec() like in:

<?php
exec('tar -xzf file.tar.gz',$ret);
?>

Does anyone know a good standalone php script that will let me

unpack a .tar.gz file on a host ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...