,
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
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
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
'>'
'&
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
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
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
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.