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

[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] PHP windows installer - additional arguments despite silent install?

2005-12-20 Thread Phil Driscoll
On Tuesday 20 December 2005 11:09, Sascha Meyer wrote: > Is there any source of information about available arguments for the > windows installer? The installer is made using Wise InstallBuilder. The PHP specific installation script does not explicitly look for any command-line arguments, however

[PHP-WIN] PHP windows installer - additional arguments despite silent install?

2005-12-20 Thread Sascha Meyer
Hi there, I recently wrote a simple vbscript to install PHP silently and copy my modified php.ini file to the Windows root directory - that was pretty easy but now I need to add the GD2 extension to my PHP installation and I simply don't know how to do it, because a) I haven't found a way to confi