hey guys, I seem to spent a loong time trying to understand and figure how to do this with PHP, i have studied the commands through PHP.net website but I still dont get it.
Basically, what I want to do is, when a user for example, goes to the webpage ' start.php ', i want a command so that, a program, such as notepad, would open up on my Windows 2003 dedicated server.
Now, how excatly do I go about doing this, because I looked into the code, and I guess I would be using the command ' exec......
Though when I looked into the source it went something lik this : -
<?php
// outputs the username that owns the running php/httpd process
// (on a system with the "whoami" executable in the path)
echo exec('whoami');
?>
but thats just printing stuff on the website because its using ' echo '
Is it possible that you guys could show me an example of opening a program on my dedicated server, using php?