Hi
Is it possible to execute a command line from php and then post the data to a variable or array in php
If it can be done i would be happy to see an example with "echo hello"
I am running PHP5 on Linux.
$result = `echo hello`; // note that those are "back quotes", not regular single quotes
Or you can use the shell_exec() function, which is equivalent. However, note that these are disabled if your PHP installation is running in safe mode.
Thank you