| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
PHP.Run
Executes the specified php code.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| PHP | 2.9 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
Deprecated
This function was deprecated.
MBS( "PHP.Run"; PHPCode ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| 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
Release notes
- Version 8.1
- Changed PHP.Run and PHP.Execute to return better error messages.
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 8.1pr2
- The Status of our PHP support
- PHP Functions in MBS Filemaker Plugin
This function checks for a paid license.
Created 18th August 2014, last changed 23th January 2023