[FX.php List] PHP FX neophytes needs help

Jonathan Schwartz jonathan at eschwartz.com
Fri Jul 21 14:31:58 MDT 2006


Don,

I think that you might be looking in wrong direction.  Take a look at 
the html at the top of the pages.  There are two opening <html> tags. 
For starters, just start the page with a basic <html> opening:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Testing the FX.php Connection</title>
</head>

<body>
......


Hope that helps.

Jonathan

>Hi all,
>
>I'm new to PHP and FX.  I going through FM Webschool's book about 
>the subject and I'm really stuck.  I downloaded the sample files 
>from Iviking and got them working on my FM server.  I could browse 
>the book database just fine.  Going through the tutorials on page 
>116 "Testing Your FX.php I connection", I'm just getting a blank 
>page when I test the page.  What am I doing wrong?
>
>  I'm sure I have all server IP addresses and the Web Companion port 
>number entered correctly in "server_data.php".  Here's the code for 
>"fxtest.php".
>
>
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
>"<http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
><html xmlns="<http://www.w3.org/1999/xhtml>http://www.w3.org/1999/xhtml">
><head>
><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
><title>Testing the FX.php Connection</title>
></head>
><html>
><body>
><?php
>
>include_once ('FX/FX.php');
>include_once ('FX/server_data.php');
>
>$testfx = new FX($serverIP,$webCompanionPort);
>$testfx -> SetDBData ('Book_list.fp7','Detail_View');
>$testfx ->  SetDBPassword ($webPW,$webUN);
>$testfxResult = $testfx -> FMFindany ();
>echo $testfxResult ['errorCode'];
>
>?>
>
>
>
>
>
>
>
>
>
>
></body>
></html>
>
>
>
>
>Thanks in advance.
>
>Don
>
>
>Don Yee
>
>Program of Technocultural Studies
>
>1 Shields Avenue
>
>Davis, Ca 95616
>
>Art Building Rm 316
>
>
>Phone 530-754-7208
>
>Website: <http://technoculture.ucdavis.edu>http://technoculture.ucdavis.edu/
>
>
>
>
>_______________________________________________
>FX.php_List mailing list
>FX.php_List at mail.iviking.org
>http://www.iviking.org/mailman/listinfo/fx.php_list


-- 

Jonathan Schwartz
Schwartz & Company
817 Marin Drive
Mill Valley, CA 94941
Phone: 415-381-1852
jonathan at eschwartz.com - http://www.eschwartz.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20060721/8496790a/attachment.html


More information about the FX.php_List mailing list