How would I untar-gz a file in php without the use of exec('tar')
or any other commands, using pure PHP?
My problem is as follows; I have a 26mb tar.gz file that needs to be uploaded onto my server and extracted. I have tried using net2ftp to extract it, but it doesn't support tar.gz uncompressing after upload.
I'm using a free web host, so they don't allow any exec()
commands, and they don't allow access to a prompt. So how would I go about untaring this?
Does PHP have a built in command?