Forum Moderators: coopster
which would be quite weird to run into.
can you execute other programs without problems?
try something along
$c_pid = system("ls -ld /mounted-storage/home/sub002/sc11883-LGVN", $retval);
echo "CPID:".$c_pid."<br />";
echo "Return:".$retval;
[edited by: eelixduppy at 11:54 pm (utc) on July 15, 2008]
[edit reason] removed URL [/edit]
<?php$c_pid = system("/bin/tar -zcvf /mounted-storage/home10/sub002/sc11883-LGVN/test.tar.gz /mounted-storage/home10/sub002/sc11883-LGVN", $retval);
echo "CPID:".$c_pid."<br />";
echo "Return:".$retval."<br />";
$c_pid = system("/bin/ls -ld /mounted-storage/home10/sub002/sc11883-LGVN/", $retval);
echo "CPID:".$c_pid."<br />";
echo "Return:".$retval;
?>
returns
CPID:
Return:2
drwx--x--x 7 sc11883-LGVN 2850 4096 Jul 15 17:04 /home10/sub002/sc11883-LGVN/ CPID:drwx--x--x 7 sc11883-LGVN 2850 4096 Jul 15 17:04 /home10/sub002/sc11883-LGVN/
Return:0