Have you tried to use system instead of exec ? HTH,
Ernani "Michael Langford" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm trying to run a program using exec but no matter what I do I keep > receiving a persistent unable to fork error. > I currently have: > exec("command.exe", $misspells); > which gives me an error, so tried > exec("cmd /c command.exe", $misspells); and even > exec("C:\WINNT\system32\cmd.exe /c command.exe", $misspells); > > I tried setting execute permissions on the system32 folder and also have > execute permissions on the command.exe file. I am running PHP v2.1.0, > recently upgrading coz i heard there were unable to fork problems with > 4.0.6. Can anyone help??? > > many thanks in advance > Mike > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php