0

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?

Code Lღver
  • 15,573
  • 16
  • 56
  • 75
mine
  • 235
  • 2
  • 10

0 Answers0