0) { while (strpos($psLine," ") > 0) $psLine = str_replace(" ",' ',trim($psLine)); $arr = explode(' ',$psLine); $this->processId = $arr[0]; $arrC = count($arr); foreach($arr as $key =>$value) { if ($key == 0) $startArgs = false; if ($value == $mainlineBin) { $this->transferowner = $arr[5]; $this->filePath = substr($arr[$arrC - 1], 0, strrpos($arr[$arrC - 1], "/") + 1); $this->transferFile = str_replace($cfg['transfer_file_path'],'', $arr[$arrC - 1]); } } $this->args = str_replace("--","",$this->args); $this->args = substr($this->args,0,strlen($this->args)); } } } ?>