William Stokes wrote:
> What is the best or right way to compare users name and password given in
> a
> web form to data in mysql database?
It's kind of a Good Idea to store the password encrypted using MySQL's
md5() function or other similar functions.
In the old days, you'd use their password()
[snip]
What is the best or right way to compare users name and password given
in a
web form to data in mysql database?
I saw one example where sql SELECT query was made with username and
password
as WHERE and the script tested how many rows was returned from database
if
there was 1 row returned
Hello,
What is the best or right way to compare users name and password given in a
web form to data in mysql database?
I saw one example where sql SELECT query was made with username and password
as WHERE and the script tested how many rows was returned from database if
there was 1 row returne
3 matches
Mail list logo