I am trying to run an external program that takes 2 arguments and returns some text data...easy. I'm using this code to try and get it to run.
exec("/home/hlds/hlcmd dod listid", $listid, $retval) or die("can't run");
echo $listid[0];
echo "<br>";
echo $listid[1];
echo $retval;
It dies everytime, I've set permission to 755, on the file, and tried passthru(), and system() functions with same results. Any help would be awesome. TIA
-Mike