[FX.php List] Can't get FX.php working under IIS

Chris Bisgard cbisgard at racc.org
Fri May 5 13:52:36 MDT 2006


I decided to go ahead and post my code, in case someone read my previous
post and wants to refer to it. This is pretty straightforward, I
think... It's taken mostly from a tutorial, with only a few minor
changes. The code below works fine when my 'server_data.php' contains
the IP and web companion port of my FM5 server, but not when it has the
IP and web port for FM8SA. (Of course, the databse name has to be
changed below, but that's the only difference.)

Thanks,
Chris

-- BEGIN CODE --

<html>
<head>
<?php
include_once("FX/FX.php");
include_once("FX/server_data.php");
include_once("FX/FMErrors.php");
?>
</head>

<body>
<?php
include_once("includes/header.php");

$instanceName=new FX($serverIP,$webCompanionPort);

$instanceName->setDBData('Calendar.fp7','web');

$instanceResult= $instanceName->FMFindall();
?>

Found Count: <?php echo $instanceResult['foundCount']; ?> <br>
Error Code: <?php echo $instanceResult['errorCode']; ?> <br>

</body>
</html>

-- END --



More information about the FX.php_List mailing list