|
Posted by Jerry Stuckle on 12/16/29 11:57
nigel.t@by.uk wrote:
> Using linux
>
> <?php
> exec("/bin/tar -cvzf myfile.tgz /home/",$arrayout,$returnval);
> ?>
>
> 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",$arrayout,$returnval);
> ?>
>
> Both work fine from the command line neither work at all from PHP
>
> -nigel-
What kind of error do you get?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|