Reputation:
My company has an internal Linux server running PHP with an application that displays client specific information, such as SSH connection info, etc. Is there a way to have the server invoke a command on a local machine via PHP? For example, the server displays a link with SSH connection information, such as c:\putty.exe -ssh [email protected] -pw MyPassword`. The user - on a windows machine - clicks the link and Putty fires up with all the connection information.
I believe Flash's fscommand has the capabilities I'm looking for, although I would much prefer to use PHP, if at all possible.
Upvotes: 2
Views: 492
Reputation: 152216
Only way to things like this is mount your resource on server machine. To do that you have to have a server that will be visible for server and able to host your files.
Upvotes: 0
Reputation: 50019
PHP is a server side technology and as such does not have any control over the client. You'll have to use a client side tech like flash or if it's IE only, ActiveX
Upvotes: 1