Compress a directory and all its multilevel subdirectories using php, tar and gz
Hi!
I need a "very simple" PHP script which can compress a directory and all its multi-(infinite)level sub-directories using with .tar and .gz
I have tried many complex scripts so far which don't work as most of them use ZIP and I don't have access to ZIP
And a few of the simple ones, just don't function.
do you have access to a command line? i was compressing some folder the other day with like 160mb of images in it an it wasn't working executing it via web browser, but it worked in the command line.
Yes, but I want the end user to be able to do this, who doesn't have access to a command line.
This will be done through a CMS control panel so that my clients can do their own backups.