0

我正在尝试使用 PhP 将 dig 输出返回到 html,但我的

$output = shell_exec('dig txt 48.60.191.107.query.senderbase.org');
echo '<pre>$output</pre>';

命令出现 NULL。当我测试时,我尝试了“whoami”,它返回了正确的 www。

如何shell_exec()输出挖掘查询?

4

0 回答 0