Hello,
I am running php 4.3.8 on a windows 2000 server, and php works and mysql works however I can not get php to run a cmd.
On the server if I go to start, then run, then type:
net stop MyAdapter
this will stop the windows service "MyAdapter"
However when I try this php script:
shell_exec("net stop MyAdapter");
or
exec("net stop MyAdapter");
This is the error I get:
Access is denied.
Content-type: text/html
X-Powered-By: PHP/4.3.8
How do I give php permission to run cmd's ?
Many thanks
Chris