----- Original Message -----
From: "Dave Carrera" <dave@xxxxxxxxxxxx>
Hi All,
Having a grey brain moment here and need some advise on the logic of this,
should be simple, login script.
I am checking validity of
customer number
customer email
customer password (md5 in mysql)
So i have my form with relevant fields
Now i am getting problems with either sql or how i am handling , and
showing, and errors.....
I think what i am asking is this
If someone just hits the login button show error "All fields must be
entered"
If customer number dose not excist show relevant error
If customer number ok but email not show error
If customer number ok but email ok but password is not show error
In login scripts you usually don't tell which part of the login is wrong,
otherwise, you are hinting at what is right. Once the customer is logged
in, you are right to be as helpful as possible, but until the customer
proves who he/she is, you don't give away anything.
Satyam
If all is ok set sessions, got this ok, and proceed.
Any help with with this is very much appreciated.
Kind Regards
Dave C
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php