exec() Problems
Posted: Tue Jul 19, 2005 11:42 am
I am calling the exec() function...
But I keep getting the following error!!!
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
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