Quote:
Originally Posted by paul_mat
Can i execute a command on the local machine?
|
The question is ambiguous -- when you say 'local machine', do you mean local to the PHP process (ie the server) or local to the end user (ie the client).
Ethics has already answered for the first case, but the way I read the question, I thought you meant the latter.
So as I read it, you want to be able to start up a program on the user's PC, but under the control of your PHP program.
If that's what you're asking, then the short answer is no, you can't; that sort of thing is blocked by the browser for very good security reasons.
The closest you can get would be to get the user to download a Java applet or ActiveX control that does what you need, and get them to run it.