run_as_php
run_as_php($content,$path,$show=false,$params=""); - execute a php file on the computer where the human emulator is running.
The function accepts parameters as input:
$content – contents of the bat file$path – path to the file$show – whether to show the window with the result of execution $params – parameters for passing a php file via argv[]
After testing, the function returns the result of its work to the script :
true – completed successfully
false – failed