Re: [PHP-WIN] exec() problem

2005-12-22 Thread Fábio Ottolini
, 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

RE: [PHP-WIN] exec() problem

2005-12-21 Thread Jay Blanchard
[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

Re: [PHP-WIN] exec() problem

2005-12-21 Thread trystano
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

Re: [PHP-WIN] exec() problem

2005-12-21 Thread El Bekko
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 -- '>

RE: [PHP-WIN] exec() problem

2005-12-20 Thread Fábio Ottolini
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

Re: [PHP-WIN] Exec problem (using Winzip - command line)

2005-11-16 Thread Chuck Anderson
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

Re: [PHP-WIN] Exec problem (using Winzip - command line)

2005-11-16 Thread trystano
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