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. Link to comment https://forums.phpfreaks.com/topic/69121-listing-processes-in-php/ 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. Link to comment https://forums.phpfreaks.com/topic/69121-listing-processes-in-php/#findComment-347444 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 Link to comment https://forums.phpfreaks.com/topic/69121-listing-processes-in-php/#findComment-347453 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. Link to comment https://forums.phpfreaks.com/topic/69121-listing-processes-in-php/#findComment-347460 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. Link to comment https://forums.phpfreaks.com/topic/69121-listing-processes-in-php/#findComment-347468 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.