Using linux
<?php
exec("/bin/tar -cvzf myfile.tgz /home/",$arrayout,$re turnval);
?>
or perhaps try it on your system and tell me if it does/doesnt and what
your linux is?
I've also tried
<?php
exec("/bin/tar -c * \| gzip \myfile.tgz",$a rrayout,$return val);
?>
Both work fine from the command line neither work at all from PHP
-nigel-
Comment