Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Hi

I am trying to "upload" a file via the PHP API to my FileMaker database.

With PHP I upload the file to the webserver. From there I would like to insert it into my FileMaker database (embedded). As Insert Picture is not a Web compatible script step I was thinking to use ScriptMaster and the GetFileAsContainer module.

However I have the feeling this is not working... If I run the script from my local computer it all works fine, but when I trigger the script via PHP I only get a question mark back. This means that he does not know the function I guess. I have installed the plugin on my Server, and activated it.

But then this question came up: can I use the ScriptMaster plugin in this way? Is it server compatible?

It is my first time I am really trying to use a plugin on the server side, so I already apologize if I asked a stupid question...

Thanks in advance

Andries

In addition to installing it in your usual directory on your server, you will also need to install the plugin to .../FileMaker Server/Web Publishing/publishing-engine/wpc/Plugins in order to use it with php.

  • Author

thanks ! this works.

Really... this plugin rocks !

Edited by Guest

  • 3 years later...

Sorry to dig up an old topic but im trying to do something similar and not having any luck. I have scriptmaster (v.4.205) installed as a web publishing plugin on my server. I am running filemaker server 11.0v5 on osx 10.8.4. My php triggers a script which inserts a file (which resides on the filemaker server itself) into a container using GetFileAsContainer. I know the plugin is installed correctly because I was able to insert a gradient into the same container from php using the scriptmaster function GradientImage. When I try to insert the file, though, the container just displays "ERROR". In addition I was able to run the same script on a file at the same path on a client and it worked perfectly. The permissions on the file are also set correctly. Anybody besides andries done this successfully and have some advice?

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.