Is it possible to execute an exe file with PHP on windows?
("c:\winnt\system32\psservice.exe start winroute" and "c:\winnt\system32\psservice.exe stop winroute")
I want to allow people to run these commands over our house network with a little web interface. Is this possible? If not with PHP anyone got any bright ideas how it could be done?
Thanks,
Gary
Execute an exe with php on Windows?
Moderator: General Moderators
- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact:
- AVATAr
- Forum Regular
- Posts: 524
- Joined: Tue Jul 16, 2002 4:19 pm
- Location: Uruguay -- Montevideo
- Contact:
Security advise
Be aware for security issues if you use some kind of variables or parameters from the url.
Somebody can chango those variables and execute something you dont like.
This will happen if you use any kind of variables in the execution, so if you dont... you wont have any problem at all...
Somebody can chango those variables and execute something you dont like.
This will happen if you use any kind of variables in the execution, so if you dont... you wont have any problem at all...