Exec !?!
| From: | hooger | Date: | Wed, 25 Jul 2001 23:33:29 +0000 |
| Subject: | Exec !?! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-59603@lists.php.net to get a copy of this message | ||
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 doesn't work!!!
Why?
I wait for your advices!
Thanks,
Melanie