[FX.php List] FX Server IP

Joel Shapiro jsfmp at earthlink.net
Wed Oct 19 18:07:47 MDT 2011


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



More information about the FX.php_List mailing list