Jump to content

checking to see if a program is running


scriptersx

Recommended Posts

im making a script for my lan and i want to be able to use php to start/stop different programs vnc,vlc etc. I know how to get them to start, and i can make a bat and run that to stop them but i want to check if they are running so i dont make double instances etc, and ideas how i could do this and use the information in my page
Link to comment
Share on other sites

[!--quoteo(post=365781:date=Apr 18 2006, 02:31 AM:name=poirot)--][div class=\'quotetop\']QUOTE(poirot @ Apr 18 2006, 02:31 AM) [snapback]365781[/snapback][/div][div class=\'quotemain\'][!--quotec--]
I am afraid you can't, these functions are for programs being executed by the server if I am not wrong...
So, you can't simply use it in Windows, for example;
[/quote]

I was asuming the topic starter was talking about a server he was running on his PC. Obviously PHP is serverside and can't run/detect programs clientside. If the server is running localy then you can do this, even in windows.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.