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.

Looking for advise - File Maker Pro 12 to communicate with remote PHP scripts

Featured Replies

  • Newbies

Hi,

 

We're new to File Maker, so we're still unsure the best way to handle this.

 

We run a spa and we have our employees follow our guests during their week with us. Our employees carry i-pads and record certain data and images on our File Maker Pro 12 database. We also have an online PHP/MySQL website with database that all of our employees can use remotely.

 

What we hope to achieve is that when our employees record certain data on their i-pads, the File Maker software communicates that data to a PHP script on our remote website (via XML, POST, etc), and our PHP scripts on the remote website handles the data from there.

 

Any advise is appreciated.

 

Thanks,

Konrad

Are you using FileMaker server? Is the FileMaker database stored on the iPad, or accessed over a network? Do images need to be transferred?

  • Author
  • Newbies

We're using FileMaker Pro 12 which is accessed over a network. Yes, along with data, some images would also need to be transferred.

With that setup, there are three main tasks involved:

  1. Get a script to run from FileMaker Pro on a set schedule which can process new/changed records
  2. Find a plug-in that will allow sending a container image in an http post request
  3. Write server-side code on your remote website that processes the above post request

Task 1

  • If you upgrade to FileMaker Server, this won't be an issue, as you can schedule a script to run on a set schedule from within the server software. Using FileMaker Server also gives you the option to access the database directly from your web application via PHP, which may allow you to extract the data you need, rather than have it "pushed" from FileMaker.
  • Look into using a "robot" computer. This involves a FileMaker file defined to open another file, perform a script, then close. This file is scheduled to be opened by an OS-level task scheduler
  • Another option is a cron-style scheduler via a plug-in module I wrote for the ScriptMaster plugin: https://github.com/dansmith65/ooScriptMaster

Task 2

  • I haven't done this before, so can't recommend any plug-in's that would do this

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.