OpenAirEmulation Scenario Descriptor - Basic Scenario

= 1){ // the process is still running include('Platform_is_running.php'); return false; } include('form.php'); return true; // the process is dead } // Way Number one - USING the OCG.pid file /* $myFile = "OCG.pid"; $fh = fopen($myFile, 'r'); $theData = fread($fh, filesize($myFile)); fclose($fh); checkPid($theData); */ // Way Number Two - Checking whether a process called OCG is running $name = 'oaisim'; checkPid($name); ?>