Brian Dunning's FileMaker Custom Functions

PHP ( param )

Use standard PHP in Filemaker calculations

  Average rating: 3.8 (47 votes) Log in to vote

Bruce Robertson   Bruce Robertson

Share on Facebook Share on Twitter

  Sample input:
PHP("include(documemnts/myfile.txt")
  Sample output:
Contents of text document.

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

This function requires the free Abstrakt shell plugin and a version of PHP which allows command line input. You can then pass standard PHP instructions to the custom function. The instructions will be executed and the result will be returned as text.

For command line processing, the beginning and closing tags ("<?php" and "?>") need to be stripped off.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.