Our PHP extension includes a number of PHP constants that make it easy to determine various file paths from within your PHP code. These constants can be used like any other PHP constant.
FM_DESKTOP_PATH
FM_DOCUMENTS_PATH
FM_EXTENSIONS_PATH
FM_FILEMAKER_PATH
FM_PHP_SUPPORT_PATH
FM_PHPX_PATH
FM_PREFERENCES_PATH
FM_TEMPORARY_PATH
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
FM_DESKTOP_PATH: /Users/MicahUsername/Desktop/ FM_DOCUMENTS_PATH: /Users/MicahUsername/Documents/ FM_EXTENSIONS_PATH: /Users/MicahUsername/Library/Application Support/FileMaker/FileMaker Pro Advanced/1415.0/Extensions/ FM_FILEMAKER_PATH: /Applications/FileMaker Pro 14 Advanced/ FM_PHP_SUPPORT_PATH: /Users/MicahUsername/Library/Application Support/Scodigo/Smartpill/ FM_PHPX_PATH: /Users/MicahUsername/Library/Application Support/Scodigo/Smartpill/PHPx/ FM_PREFERENCES_PATH: /Users/MicahUsername/Library/Preferences/ FM_TEMPORARY_PATH: /var/folders/ds2v/f86zq6kj5m14q5q65v6z43ch0000gntv8bs4bn04q1w0y19wtwqnrr0000gn/T/S10/ |