error with exec ?!
| From: | hooger | Date: | Fri, 27 Jul 2001 00:42:37 +0000 |
| Subject: | error with exec ?! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-59837@lists.php.net to get a copy of this message | ||
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 = "Error 5"
$ret = 1
Why?????
I wait for your advices!
Thanks!
Melanie