corbin Posted May 31, 2007 Share Posted May 31, 2007 So someone has a very strange request, and I have no idea how to do it or if it's even possible. Know how when open task manager you can see how long a process has been running? He wants that info on a webpage. I've googled around a bit but can't find anything even remotely related to it, so I'm hoping someone else has done something like this before. Thanks for any help, Corbin P.S. Web server is Win Server 03 with Apache 2.2.4 and PHP 5.2 Link to comment https://forums.phpfreaks.com/topic/53782-php-access-process-information/ Share on other sites More sharing options...
flappy_warbucks Posted May 31, 2007 Share Posted May 31, 2007 i dont think you can do that as its probing about on a users computer, and that is frowned upon... the only way u can do that is by building a stand alone application that the user has to download and then execute on their own computer, that then would transmit the data to the website... doing it thru the browser is a big no, no. Link to comment https://forums.phpfreaks.com/topic/53782-php-access-process-information/#findComment-265859 Share on other sites More sharing options...
per1os Posted May 31, 2007 Share Posted May 31, 2007 If it was on linux you could do a ps using exec, but that is strictly for the server's processes. To get a user browsing the websites information you would need ActiveX Control or a 3rd party program to relay the information Link to comment https://forums.phpfreaks.com/topic/53782-php-access-process-information/#findComment-265864 Share on other sites More sharing options...
corbin Posted June 1, 2007 Author Share Posted June 1, 2007 Nooo it's not to get info from the user's computer. It's for a game server of some form, and I was wondering if there's anyway to know how long a process has been running (the game server). Link to comment https://forums.phpfreaks.com/topic/53782-php-access-process-information/#findComment-266005 Share on other sites More sharing options...
trq Posted June 1, 2007 Share Posted June 1, 2007 You would need to look around to see if there is a command line entry point to task manager. I can't imagine you'll have allot of luck... windows isn't real good at this rot of thing. Link to comment https://forums.phpfreaks.com/topic/53782-php-access-process-information/#findComment-266017 Share on other sites More sharing options...
munkee Posted June 30, 2007 Share Posted June 30, 2007 If it's a Windows Server, let me know and I'll see if I can write something in VB.NET that'll output the Process Information to some sort of XML feed. Link to comment https://forums.phpfreaks.com/topic/53782-php-access-process-information/#findComment-286918 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.