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
27;>'-- Mensagem Original -- '>'Date: Tue, 20 Dec 2005 10:43:48 -0200 '>'From: Fábio Ottolini <[EMAIL PROTECTED]> '>'Reply-To: [EMAIL PROTECTED] '>'To: php-windows@lists.php.net '>'Subject: [PHP-WIN] exec() problem &#

RE: [PHP-WIN] exec() problem

2005-12-20 Thread Fábio Ottolini
nal -- '>'Date: Tue, 20 Dec 2005 10:43:48 -0200 '>'From: Fábio Ottolini <[EMAIL PROTECTED]> '>'Reply-To: [EMAIL PROTECTED] '>'To: php-windows@lists.php.net '>'Subject: [PHP-WIN] exec() problem '>' '&

[PHP-WIN] exec() problem

2005-12-20 Thread Fábio Ottolini
Dear Comrades, Can someone please explain why this is script is not working on my win2k box with PHP 4.3.4? "; print $mx[0][1]; ?> 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 ); nothi

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 p

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 bac

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

2005-11-14 Thread Chuck Anderson
I wrote a script to backup my Thunderbird user profile every night by zipping the whole profile (with subfolders) into a zip file. I use exec to call Winzip with command line parameters (see - http://www.memecode.com/docs/winzip.html) The script worked fine until I tried it under my Apache 2.