I don't know if this will be helpful or not - I found it in the manual:
[EMAIL PROTECTED]
25-Oct-2000 03:16
system() function doesn't return a string value, if you want to assign the
output of a system command, try using:
$a = `/bin/ls -a`;
note the ` is a backtick, not a single quote
Tom Malon
I think you need to assign it to a variable and then echo that:
$dnsquery = exec("dnsquery -h domain.net");
echo $dnsquery;
HTH
Jon
-Original Message-
From: J.Mueller, pro.vider.de GmbH [mailto:[EMAIL PROTECTED]]
Sent: 17 August 2001 09:29
To: '[EMAIL PROTECTED]'
Subject: [PHP] Dnsquer
2 matches
Mail list logo