[FX.php List] FX Server IP

Vargas, Steve E vargas_s at aps.edu
Wed Oct 19 18:31:17 MDT 2011


YES!!!

It sure did help!

Thank you very much Joel.

Steve

-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Joel Shapiro
Sent: Wednesday, October 19, 2011 6:08 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] FX Server IP

Hi Steve

Look at the file "server_data.php" inside the FX folder.

There should be a line in there that sets the $serverIP variable with the actual IP, e.g.:
$serverIP = '127.0.0.1';

HTH,
-Joel

~~~~~~~~~~~~~~~~~~~~~~~
Joel Shapiro
FileMaker Pro
: database design
: web development
http://www.jsfmp.com
415-269-5055
~~~~~~~~~~~~~~~~~~~~~~~

On Oct 19, 2011, at 4:24 PM, Vargas, Steve E wrote:

>
> I am new to the FX API.
>
> The code:
>
> include_once('FX/FX.php');
> include_once('FX/server_data.php');
> $search = new FX($serverIP,$webCompanionPort); $search -> 
> SetDBData($myDB,$myLayout); $search -> SetDBPassword($webPW,$webUN); 
> $searchResult = $search -> FMFindAll();
>
>
> The third line references the server  IP address. We had a server 
> crash and a new IP was issued out to the server. We believe the FX API 
> is broken since we get an error of invalid user account and/or 
> password that are valid on the FMP database.
> Could the IT contractor that developed this app hard coded the server 
> IP elsewhere in the code? Where else may I look to fix the error.
>
> TIA
>
> Steve
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

_______________________________________________
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