Hello,
I have installed XAMPP 1.6.0a on a Windows XP SP2 without changing anything to the install defaults. Everything seems to work OK, except for the exec function. Whenever it is used, a shell window opens while the command is being executed. For example, I have this test script:
<?php
$a = $b = $c = "";
$a = exec("dir *", $b, $c);
var_dump($a, $b, $c);
?>
When I open it in the browser, a shell window opens for a second and disappears after the command has finished executing.
I haven't seen this behavior with manual installations of PHP both as an Apache module and CGI.
Is there anything that I can change to prevent the shell window from opening?
Thanks,
Razvan