I am trying to run the command:
exec("cat ..........", $output, $var);
Basically, cat "any file" returns no contents in $output, and returns 0 in $var. exec("whoami"); returns "apache" in $output and 0 in $var. Any ideas?
Are you able to help answer this sponsored question?
Questions asked by members who have earned a lot of community kudos are featured in order to give back and encourage quality replies.