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.

Problem Accessing Images From FileMaker DB through PHP(FX.PHP)

Featured Replies

Hi

I am facing problem when accessing image from FileMaker Database.

First of all my software specifications:

Filemaker Server Advanced 7 (FileMaker 8 DB Hosted)

PHP Version: 4.3.3

FX.PHP 4.0.0

windows 2003 sever

When i access the image for a search result listing.

It is showing the image of 1st record and reapeats the image

of first record for the rest of records.

I am using image_proxy.php for accessing image records.

The code is like below:

-----------------------------------------------------

<?php

include_once('fx/fx.php');

include_once('fx/image_proxy.php');

$fxob=new FX('192.168.10.8',80,'FMPro7','HTTP');

$fxob->setDBPassword('password','username');

$fxob->setDBData('DBName','Layout-web');

$dataArray=$fxob->FMFindAll();

foreach($dataArray[data] as $val){

$image=null;

$image="fx/image_proxy.php?

FXimage=".vignereEncryptURL($val['containerPicture'][0]);

echo '';

}

?>

-----------------------------------------------------

Please reply if u have any solution.

Also tell me if any other way available for accessing the image from DB.

Regards

Debabrata Pati.

  • 2 weeks later...

I'm sure you did this - but did you initialize a new 'key' for image_proxy.php

I was not able to get image proxy working perfectly in my PHP and FM 6 solution so I used an old work around - which will not work in FM 7 (I believe)???

cover

It is also been suggested to keep images separate from the FM database in a folder and access them that way.

In theory image_proxy is should work - but I am still waiting for someone to develop and easy function similar to the CDML way of getting images from container fields.

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.