[FX.php List] Authenticate with FileMaker account.
Jerry Do
jhdo at central.uh.edu
Thu Aug 31 08:38:23 MDT 2006
Thank you for the reply,
The problem I am having is when user enter wrong login information.
...
$query->SetDBPassword( $password, $username );
$queryResult = $query->FMFindAny();
If($queryResult['foundCount']==1)
{echo "passed";}
Else
{echo "failed";}
//////////////////////////////////////
If invalid login information entered, it will display with the following
error: "Fatal error: Cannot use object of type FX_Error as array in
c:\Inetpub\wwwroot\test\logintest.php on line 12"
Is there another or better to do this?
Thank you in advance,
Jerry
On 8/31/06 2:16 AM, "Gjermund Gusland Thorsen" <ggt667 at gmail.com> wrote:
> Use: $query->SetDBPassword( $password, $username );
>
> but you need to add them to the CWP group in FileMaker accounts.
>
> ggt667
>
> On 8/30/06, Jerry Do <jhdo at central.uh.edu> wrote:
>> Hello all,
>> I would like to authenticate users with FileMaker's passwords. I am
>> currently using an account table. It is working great, but I have to use
>> FileMaker accounts in the next project. Can anybody shred some light on
>> this matter? Any suggestion will be helpful since I am still a newbie with
>> FX.php.
>>
>> Thank you
>>
>> Jerry,
>>
>>
>>
>> _______________________________________________
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20060831/14173c60/attachment.html
More information about the FX.php_List
mailing list