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.

Understanding: Sample Configuration For Filemaker Server?

Featured Replies

I am working with the FMPHP_Sample.fmp12 database and php to understand how the API for PHP works. Mostly I have gotten things to work, but for a few errors I don't understand.

 

I have a different host for the php files then where the FM server is.

 

I placed the API Example php files on my host and included:

FileMaker.php and the FileMaker folder.

 

I can view the list in displayRecords.php and individual records inviewRecord.php

 

I get the following error when I try to create a new record or delete a record (the records are created and deleted):

 

Warning: Cannot modify header information - headers already sent by (output started at /home/smilep6/public_html/API/deleteRecord.php:5) in /home/smilep6/public_html/API/deleteRecord.php on line 48

 

I do not know why I am getting this. All I have changed in the php files is this:

$fm = new FileMaker('FMPHP_Sample', 'http://domain');

 

Thanks in Advance - Sam

That is nothing to do with the API - that is a PHP error from sending something before the php itself is executed, usually having whitespace or some HTML before the php.

 

eg

 

<html>
<head>
<?php some php; ?>

 

The very very first thing on the code page should be your opening block of PHP code

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.