Re: [PHP] Verifying encrypted password from MySQL database with PHP

2003-03-05 Thread Jason Wong
On Thursday 06 March 2003 13:21, Chinmoy Barua wrote: > I have an user table where the username and passwords of the users are > stored. The passwords are stored in encrypted format (the MySQL function > 'ENCRYPT($password) is used for insertation). > > Now I want to varify username and password.

[PHP] Verifying encrypted password from MySQL database with PHP

2003-03-05 Thread Chinmoy Barua
Hello, I have an user table where the username and passwords of the users are stored. The passwords are stored in encrypted format (the MySQL function 'ENCRYPT($password) is used for insertation). Now I want to varify username and password. For that, I have written the followin PHP code: ---