[FX.php List] Can't Connect

Tim Brown tbrown at antidotesolutions.com
Mon Feb 21 14:44:09 MST 2005


Got that.  Used it.  Seems like everything is up an running.  If it 
cannot connect should I get an error  back?

This the code:

<?
include ("FX.php");
include ("prefs.php");

$InstanceName= new FX($serverIP, $port);
$InstanceName->SetDBData('Lot Number Tracking.fp7','WebScanner');
$InstanceName->SetDBPassword('scanner','Web');
$InstanceName->AddDBParam('CalicoProductNumber', $_POST['product']);
$InstanceName->AddDBParam('BarCode',$_POST['lot']);
$InstanceName->AddDBParam('Scanner',$_POST['scanner']);
// $InstanceName->AddDBParam('-script','Lookup Empty Barcodes');
$ReturnedData=$InstanceName->FMNew();

if($ReturnedData['errorCode']!=0){
	echo "There was a problem with record being added
	FileMaker could be down.";
}else{
	echo $ReturnedData;
	
include_once ("index.php");

}
exit;
?>



Tim
On Feb 21, 2005, at 4:26 PM, Gjermund Gusland Thorsen wrote:

> Did you follow these instructions?
>
> http://www.file-making.com/files/FMSA7v2_QuickStart.pdf
>
> ggt
>
> On Mon, 21 Feb 2005 15:48:37 -0500, Tim Brown
> <tbrown at antidotesolutions.com> wrote:
>> I converted my FM6 PHP solution to FM7.  I am running Server Advance.
>> I cannot Post.  I don't get any error message back from PHP.
>>
>> It seems that it is not connecting.  But I don't know where to start.
>> I have a username and password and the extend priviliges have xml and
>> xslt.
>>
>> Stumped.
>>
>> Is there any documentation for FM7?  I see the function list has
>> increased with FM7.
>>
>> I don't know where to begin debugging.
>>
>> Tim
>>
>> _______________________________________________
>> 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