>> I think you need to assign it to a variable and then echo that:
>> $dnsquery = exec("dnsquery -h domain.net");
>> echo $dnsquery;
>>
> This is from the manual:
> "exec() executes the given command, however it does not output
> anything"
> Use system instead.
Well, don't trust everything you re
quote
Tom Malone
Web Designer
http://www.tom-malone.com
-Original Message-
From: J.Mueller, pro.vider.de GmbH [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 4:29 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP] Dnsquery
Hello,
I've tried to execute the system function d
Cheers,
Gianluca
JH> -Original Message-
JH> From: J.Mueller, pro.vider.de GmbH [mailto:[EMAIL PROTECTED]]
JH> Sent: 17 August 2001 09:29
JH> To: '[EMAIL PROTECTED]'
JH> Subject: [PHP] Dnsquery
JH> Hello,
JH> I've tried to execute the system functio
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]
Hello,
I've tried to execute the system function dnsquery, which works fine
from a shell:
% dnsquery -h domain.net
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61611
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2
;; domain.net, type = ANY, class = IN
domain.net.
5 matches
Mail list logo