,
Fábio Ottolini
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
Sent: Wednesday, December 21, 2005 1:30 PM
Subject: RE: [PHP-WIN] exec() problem
[snip]
The same script works fine in another win2k box running PHP version 5.
St
[snip]
The same script works fine in another win2k box running PHP version 5.
Strange
is that if I add print $result; right after exec ( $command, $result );
nothing is printed. When the script runs on the machine that works it prints
Array obviously. So, my guess is that $command is never being ex
gt;
To: php-windows@lists.php.net
Sent: Wed, 21 Dec 2005 13:03:58 +0100
Subject: Re: [PHP-WIN] exec() problem
Fábio Ottolini wrote:
> To clarify it a little bit more, I have changed the code a bit:
> > $command = "nslookup -type=mx $domain 2>&1";
> > exec ( $command, $r
Fábio Ottolini wrote:
To clarify it a little bit more, I have changed the code a bit:
$command = "nslookup -type=mx $domain 2>&1";
exec ( $command, $result );
print_r($result);
And the result on the browser is:
Array ( [0] => Access is denied. )
Any clues?
'>'-- Mensagem Original --
'>
To clarify it a little bit more, I have changed the code a bit:
$command = "nslookup -type=mx $domain 2>&1";
exec ( $command, $result );
print_r($result);
And the result on the browser is:
Array ( [0] => Access is denied. )
Any clues?
'>'-- Mensagem Original --
'>'Date: Tue, 20 Dec 2005 10
No. Nothing in either log file.
[EMAIL PROTECTED] wrote:
Are you getting anything in your Apache Error/Event logs?
Tryst
-Original Message-
From: Chuck Anderson <[EMAIL PROTECTED]>
To: php-windows@lists.php.net
Sent: Mon, 14 Nov 2005 16:31:57 -0700
Subject: [PHP-WIN] Exec problem (us
Are you getting anything in your Apache Error/Event logs?
Tryst
-Original Message-
From: Chuck Anderson <[EMAIL PROTECTED]>
To: php-windows@lists.php.net
Sent: Mon, 14 Nov 2005 16:31:57 -0700
Subject: [PHP-WIN] Exec problem (using Winzip - command line)
I wrote a script to backup my T