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.

CDML and passwords

Featured Replies

  • Newbies

I have a made a FileMaker Pro 6 database web accessible via PHP using the FX.php class. I also created a password allowing only browse records priviliges for the FX class. FX passes this password to the database as expected; however, I also have container fields with images that I want to be displayed as follows:

<img src="http://$serverIP:591/FMPro?-db=database.fp5&-RecID=1&ContainerField=&-img">

At this point an authentication dialog box pops up requesting the same password to be entered by the user. How can I pass the password to Filemaker and prevent the authentication dialog box from popping up?

Try this:

<img src="http://myusername:mypassword@$serverIP:591/FMPro?-db=database.fp5&-RecID=1&ContainerField=&-img">

Good Luck.

Garry

  • Author
  • Newbies

Thanks for the help. Unfortunately, I just learned that Microsoft has released a "security update" which disables the use of username:password@host in http urls in MSIE. It's possible to reverse this change, but since it's now the default value... Any other ideas?

Thanks,

Phillip Dean

Try this:

Create a php script called "theimage.php":

<?php

header("Content-type: image/jpeg");

$img = imagecreatefromjpeg("http://myusername:mypassword@$serverIP:591/FMPro?-db=database.fp5&-RecID=1&ContainerField=&-img");

imagejpeg($img);

imagedestroy($img);

?>

Then in the main php script have this line:

<img src="theimage.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.