I have been reading about exec() and passthru() and system() and different ways to use these, but so far not one of them is working. The Closest I have gotten is to get a request from CMD printed up on the page and so I researched how to pass a password programmatically to PHP to fill in the password, but I haven't quite figured it out.
I have tried dozens of different ways to get any of the methods to work, but the closest I have come is with this:
echo exec('runas /user:<Computer>\<User> "notepad.exe"' );
I'm using notepad here becasue I want to learn how to start an executable from PHP and notepad seems like an easy starting place.
I found a vb script through my searches and it is supposed to be able to fill in passwords for the runas call, but I'm not sure how to call it using PHP so I decided to ask if anyone knows how to call a vb script from PHP and the method or syntax you would use?