[FX.php List] PHP error help

CSInfo CSinfo at comcast.net
Mon Jun 30 08:33:43 MDT 2008


Bob, I saw that after I sent the first posting, thanks. I fixed and it and I
still get the same message.
By the way, I used FXForge for a template for the code.
 
Anybody care to debug my code? If so send an email off the list. I could
send the db, html form and php script.
 
Does somebody have a simple php file (no includes) to test a connection ? I
am guessing that is my problem since this deployment was full of problems.
 
Thanks
John Funk

  _____  

From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
Sent: Friday, June 27, 2008 4:56 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] PHP error help


Here's your error: you have username and password backwards: 


$suerveyijn->SetDBPassword('webuser','webpass');


should be

$suerveyijn->SetDBPassword('webpass','webuser');


Bob Patin
Longterm Solutions
 <mailto:bob at longtermsolutions.com> bob at longtermsolutions.com
615-333-6858
 <http://www.longtermsolutions.com> http://www.longtermsolutions.com
FileMaker 9 Certified Developer
Member of FileMaker Business Alliance and FileMaker TechNet


  INSTANT MESSAGING:
     AIM or iChat: longterm1954


--------------------------
Contact us for FileMaker hosting and programming for all versions of
FileMaker
PHP . Full email services . Free DNS hosting . Colocation . Consulting


On Jun 27, 2008, at 3:42 PM, CSInfo wrote:



$groupSize='50';
$suerveyijn=new FX('120.70.10.14','80','FMPro9');
$suerveyijn->SetDBData('RAMNet_Surveys.fp7','web_in',$groupSize);
$suerveyijn->SetDBPassword('webuser','webpass');
$suerveyijn->AddDBParam('Name',$Name);
$suerveyijn->AddDBParam('Location',$Location);
$suerveyijn->AddDBParam('A1',$A1);
$suerveyijnResult=$suerveyijn->FMNew();
 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20080630/51c4d797/attachment-0001.html


More information about the FX.php_List mailing list