Hi. That all looks fine. In robot_functions is the following line:
PHP Code:
exec($command,$result,$retval);
Right after that line place the following lines:
PHP Code:
echo "<br><br>Result contains: ";
print_r($result);
echo "<br>Return value is: " . $retval . "<br><br>";
What shows onscreen for these echo statements?