I am trying to find examples on this but I couldn't find one.
What I need to do is to run a command and I wanted to pass variables to the command for it to run.
i need to run this:
e.g.
$work= exefile -p blast -d database.name -i $input.txt -o $output.out;
echo "<pre>$work</pre>";
$input and $output are variables that is taken from .php file.
1) Do anyone have an example of how I can do this?
2) How about passing variables from command prompt? Is it possible?