[FX.php List] Script-triggering not working...

Jonathan Schwartz jschwartz at exit445.com
Sat Mar 22 17:25:24 MDT 2008


If this is the exact code you are using, you have a typo in the 
AddDbParam ('AddDbparam').

That could be it.

J


>I've never used scripts in FX.php, but am in a situation where I 
>really need to use one; I've added the code for the script; this 
>finds the proper record, and should run a script:
>
>$query=new FX($serverIP,$webCompanionPort);
>$query->SetDBData('xxx.fp7','xxxx');
>$query->SetDBPassword('$pw',$un);
>$query->AddDBparam('recid',$recid);
>$query->AddDBParam('-script', 'generate_key_from_shareware');
>$queryResult=$query->FMFind();
>
>When I return an error I see that my record is found, but the script 
>doesn't get triggered. I've looked at the obvious stuff--script name 
>is correct, FIND is successful... anything else I should look for?
>
>Thanks,
>
>Bob Patin
>Longterm Solutions
>bob at longtermsolutions.com
>615-333-6858
>http://www.longtermsolutions.com
>Member of FileMaker Business Alliance and FileMaker TechNet
>
>   CONTACT US VIA INSTANT MESSAGING:
>      AIM or iChat: longterm1954
>      Yahoo: longterm_solutions
>      MSN: tech at longtermsolutions.com
>      ICQ: 159333060
>
>--------------------------
>Contact us for FileMaker hosting and programming for all versions of FileMaker
>PHP * CDML * Full email services * Free DNS hosting * Colocation * Consulting
>
>
>_______________________________________________
>FX.php_List mailing list
>FX.php_List at mail.iviking.org
>http://www.iviking.org/mailman/listinfo/fx.php_list


-- 
Jonathan Schwartz
Exit 445 Group
jonathan at exit445.com
http://www.exit445.com
415-381-1852


More information about the FX.php_List mailing list