Hello,
I've got a pb with exec() command.
I try to execute a command that contain a variable :
$server = toto;
$command="rsh $server -l user /home/truc.sh >
/etc/httpd/truc.txt";
echo $command;
All seems works fine at this step.
It display the right command :
rsh toto -l user /home/truc.sh >
/etc/httpd/truc.txt
But when I try exec($command) the command don't work
And if try the command with the name of the server directly without any variable it works!!
exec(rsh toto -l user /home/truc.....)
If someone could help me I'll be very happy
'Scuse my english :-)......