Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  

PHP.Run

Executes the specified php code.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PHP 2.9 Yes Yes Yes Yes No

MBS( "PHP.Run"; PHPCode )

Parameters

Parameter Description Example value
PHPCode The source code of the script you are executing $code

Result

Returns OK on success.

Description

Executes the specified php code.
The result can be obtained with "PHP.GetResultString"

Examples

Run test code:

MBS( "PHP.Run"; "echo 'ok';" )

See also

Example Databases


PHP.Load   -   PHP.SetVariable

Feedback: Report problem or ask question.




Links
MBS FileMaker blog