Skip 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.

PHP and CDML (on Macs)

Featured Replies

Hi,

I am trying to combine PHP (using FX class) and CDML to web enable my Filemaker database. The files are hosted on Macintosh.

If I use only PHP and put all the files in Library/WebServer folder, I can connect to database and add/delete/edit record - no problem. When I am trying to use CDML and for that reason put all my files in Applications/FileMaker Pro 6.0/Web folder - it gives me an error that my proceed.php file cannot be found even though I am poiting to its location in the html files which are located in the FIlemaker/Web folder:

<?php

include_once("../../../Library/WebServer/Documents/proceed.php");

?>

If I put everything in Library/WebServer/Documents folder - the browser gives me an error that my database cannot be found.

I wonder if there is a way to put everything in one location?

I am new to it and would appreciate any help.

Thank you

Jul

Your php files would be referrenced like this:

<?php

include_once("/proceed.php");

?>

or

<?php

include_once("http://localhost/proceed.php");

?>

Good Luck.

Garry

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.