mrhead66 Posted September 13, 2007 Share Posted September 13, 2007 Hi guys, Using PHP, is it possible to return and display a list of currently running processes on the client's machine? In fact, is it possible to run a system command on a client's machine? Thanks for all your help and advice. This will be a valuable diagnostic tool if it is possible. Quote Link to comment Share on other sites More sharing options...
trq Posted September 13, 2007 Share Posted September 13, 2007 No. You can't do anything on a clients machine using php. Quote Link to comment Share on other sites More sharing options...
Barand Posted September 13, 2007 Share Posted September 13, 2007 Agreed. PHP runs on the server, possibly on a separate continent, as has no no idea of what's happening on the client Quote Link to comment Share on other sites More sharing options...
mrhead66 Posted September 13, 2007 Author Share Posted September 13, 2007 Ok, thank you for your help. I understand the reason ( I'm guessing mainly security) that PHP would probably impose such a restriction. Would you be able to point me towards any other languages that would be able to run system commands on a clients machine in a browser? Is it possible using Perl or Javascript, or not at all under an intranet environment? Would I have to offer the script as a completely seperate program? Thank you once again for all your help and assistance. Quote Link to comment Share on other sites More sharing options...
Barand Posted September 13, 2007 Share Posted September 13, 2007 It's not security, it's just physical separation. PHP receives messages from the client, responds, then returns data. You would certainly need something that runs on the client, like javascript, although I have no idea if js could accomplish what you want. I should think you'd need to install an application on the client pc. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.