PHP’s exec Command

Some things to note about PHP’s shell execution. The syntax: exec(“command php”, $array=optional); So the first thing to note is that if you do not include the optional array, which is a pass by reference variable, that the command will not wait until it’s done executing before moving on in the PHP code. If you do include the array, it will put the output of the command into the array, unless in your command you route...

Read More