Re: [PHP] username and password auth

2005-02-17 Thread Richard Lynch
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()

RE: [PHP] username and password auth

2005-02-17 Thread Jay Blanchard
[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

[PHP] username and password auth

2005-02-17 Thread William Stokes
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