[FX.php List] How to stop error with bad username/password

Glenn Singleton glenn at thesingletons.id.au
Tue Nov 20 00:37:55 MST 2007


Jonathan,

I want the web users to login with username and password I have setup in the 
Filemaker Pro file, as if they were logging in with Filemaker Pro. (no 
default user)

In other words I want to use the built in Filemaker user accounts and 
passwords.

Of course, these accounts are setup only to do web enquiries with access 
setup as needed.

The administrator(not me) of the system can change the passwords (with 
filemaker client) so I do not know the login username/password combination.

I want to authenticate that by doing a query against the database, and if 
that fails it is an invalid username/password combination.

Maybe I am missing something and that is why I asked
>>You have another way of NOT hard coding user names and passwords WITHOUT a 
>>username/password table ?

Surely there is a error trapping function in php I can use ? I will keep 
searching, I thought this would be a common problem...

Glenn

----- Original Message ----- 
From: "Jonathan Schwartz" <jschwartz at exit445.com>
To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
Sent: Tuesday, November 20, 2007 6:10 PM
Subject: RE: [FX.php List] How to stop error with bad username/password


> Glenn,
>
> For clarification,  are you referring to the file's administrative 
> username/password that allows fx.php to access the file in order to 
> perform a query, or.... a set of fields that you have created in an FMP 
> table for the purpose of allowing users to login to your solution?
>
> If the former, this should never produce and error in a production system. 
> However, turning off error reporting will help shield end users from 
> system errors.
>
> If the latter, then the handling is whatever you decide it should be when 
> the login produces results other than what is desired.
>
> So...which one is it?
>
> J
>
>
> At 3:04 PM +1100 11/20/07, Glenn Singleton wrote:
>>The username/passwords are set in the fp7 file (with appropriate 
>>priviledges
>>for each user) and the users are asked for them as login details on a 
>>form.
>>
>>You have another way of NOT hard coding user names and passwords WITHOUT a
>>username/password table ?
>>
>>
>
>
> -- 
> Jonathan Schwartz
> Exit 445 Group
> jonathan at exit445.com
> http://www.exit445.com
> 415-381-1852
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 
> 269.16.1/1140 - Release Date: 19/11/2007 7:05 PM
>
> 



More information about the FX.php_List mailing list