Re: [PHP-WIN] WMI call to run a remote application

2008-05-24 Thread Allain Lalonde
To execute a shell statement on the server side use http://ca3.php.net/manual/en/function.exec.php. That way you keep Web things in PHP and Shell Script things in a more appriate language like cscript (vbs) or batch files. Even though PHP *can do it*, it doesn't mean it's the best language for doi

[PHP-WIN] WMI call to run a remote application

2008-05-22 Thread John Arends
I'd like to have a PHP script running on my web server (running IIS 6) that can make a WMI call and start a specific remote process on a remote computer. For what its worth, the remote process I'd like to trigger is a batch file. I've googled this extensively and can't find anything that point