Code: Select all
exec('dir',$test);
foreach ($test as $key => $value) {
echo"$key, $value\n";
}Warning: exec(): Unable to fork [dir] in c:\inetpub\wwwroot\test.php on line 4
This works OK from the command line but not on in IIS.
Has anyone come accross this one before?
Rgds Ian