Documentation
IPS_RunScriptTextWait
string IPS_RunScriptTextWait (string $ScriptText)
Parameters
| ScriptText | String that is executed as script |
Returns
Result of the executed script
Description
The function starts a script with the content ScriptText and waits for the execution of the script to return its result. It is not necessary to state PHP tags.
Example
// Returns "Hello World"
echo IPS_RunScriptTextWait("echo 'Hello World';");