Hi I am trying to run a C binary program in a php script. The name of the binary program is
prog and it takes one or two parameters. In terminal this binary program runs fine with this command:
In a php sript, I am trying to run the above command. But I am not sure if this syntax is correct. I have the following:
exec('../permission/prog param1', $output, $return);
I am not seeing expected behavior after executing the php file. Is it possible to pass the parameter like this in php?