I am trying to return dig output to html using PhP but my
$output = shell_exec('dig txt 48.60.191.107.query.senderbase.org');
echo '<pre>$output</pre>';
command comes up NULL. as I test I tried 'whoami' and it returned www which is correct.
How do I get shell_exec()
to output a dig query?