[FX.php List] How to stop error with bad username/password
Glenn Singleton
glenn at cornerstoneict.com.au
Mon Nov 19 21:04:42 MST 2007
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 ?
-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Tim 'Webko' Booth
Sent: Tuesday, 20 November 2007 2:01 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] How to stop error with bad username/password
Dear Glenn,
>
>
> I am getting an error from PHP when trying to connect to a fp7 file
> with an invalid username/password combination.
>
> Invalid layout and database not available errors are handled by
> fx.php, but username/password seems to trigger an error before fx.php.
Why would you connect to the *file* with a bad user name and password?
Don't they get set in the preferences beforehand?
Which is probably why FX won't trap gracefully on that - it happens before
it even gets to the database, where most of the errors would be generated.
Cheers
Webko
_______________________________________________
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