[FX.php List] Problem Accessing Images From FileMaker DB through PHP(FX.PHP)

Debabrata Pati pati.debabrata at gmail.com
Wed Oct 12 05:26:54 MDT 2005


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 <http://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 '<img src="'.$image.'">';
 }
?>
-----------------------------------------------------
Please reply if u have any solution.
Also tell me if any other way available for accessing the image from DB.
 Regards
Debabrata Pati.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20051012/36361375/attachment.html


More information about the FX.php_List mailing list