[PHP] error with exec ?!

2001-07-26 Thread hooger
Hi! I had a php page which uses exec function to run an exe : addgroup. The exe addgroup create a folder on the server. The code : ... $command="C:/WebEdu/PHP/PHPTest2/addgroup.exe test1"; exec($command, $list, $ret); ... My problem is that when I run the php page, it returns me : $list = "Er

[PHP] Exec !?!

2001-07-25 Thread hooger
Hi! I need to run an exe program inside my PHP page. To run this program I do "addcours.exe c toto" in DOS. All my dll's and exe are in the folder C:/WINNT/system32/ My php pages are in the folder C:/WEB/PHP/ Code of my PHP page : ... exec("C:/WINNT/system32/addcours.exe c toto"); ... But it d