phpprocessexecutable

Php check if executable is running


Is it possible in Php to check wether an executable is running or not,

some Pseudocode:

if(processExists("notepad.exe")
{
     echo "exists";
}
{
     echo "doesn't exists";
}

Solution

  • You would only be able to check server-side processes, where PHP is running. JavaScript (client-side) isn't allowed that kind of access because of security.