[FX.php List] Displaying container data

Gareth Evans gareth.evans at schawk.com
Sun Feb 22 12:22:16 MST 2009


Maybe try:

echo '<img src="'.$logo.'" />';
-- 



> From: Bob Patin <bob at patin.com>
> Reply-To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
> Date: Sun, 22 Feb 2009 13:08:00 -0600
> To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
> Subject: [FX.php List] Displaying container data
> 
> I've almost never used containers with FX work, but I need it for this
> project, so I'm forced to revisit it.
> 
> Here's my code:
> 
> 
> include_once('FX/FX.php');
> include_once('FX/server_data.php');
> require_once('FX/image_proxy.php');
> 
> $query2 =new FX($serverIP,$webCompanionPort, $dataType, $scheme);
> $query2->SetDBData($dbname,'web_prefs',1);
> $query2->SetDBPassword($webpw,$webun);
> $query2Result = $query2->FMFindAll();
> foreach($query2Result['data'] as $key=>$query2Data);
> $logo="FX/image_proxy.php?
> FXimage=".vignereEncryptURL($query2Data['cont_logo'][0]);
> echo $logo;
> 
> Here's what gets echoed:
> 
> FX/image_proxy.php?FXimage=%C5%9B0z%CCI%A9%7C%B8%AE%B3%E11%EF%8COX
> %EF2yy%EDt%E4%C4%C0%F6%D1.Q%CFuG%9E%8D%CF%DAw_wS%B3%A0%EB
> %C9%E2%E1%81%B9%AA%3C%B1%84%D7Z%DAY%BD%D2%AE%BB%B7%D6%B3V%F3%CA%CE
> %82%DD%5B%D7%F3c%7B%9F%C9%93%EFp%F8%A5%EF%904%FB
> 
> Instead of just an image, I'm seeing the actual PHP, which makes me
> think there's something not quite right here...
> 
> Container field is called "cont_logo", and it IS on the layout. If I
> echo back another field (a regular data field) it comes back fine.
> 
> Any thoughts?
> 
> Thanks,
> 
> Bob Patin
> Longterm Solutions LLC
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> Twitter: bobpatin
> iChat/AIM: bobpatin
> FileMaker 9 Certified Developer
> Member of FileMaker Business Alliance & TechNet
> --------------------------
> FileMaker hosting and consulting for all versions of FileMaker
> PHP € Full email services € Free DNS hosting € Colocation € Consulting
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list