Posted by sathyashrayan on 03/26/07 15:56
On Mar 26, 4:39 pm, "sathyashrayan" <asm_f...@yahoo.co.uk> wrote:
> Dear group,
>
> For a log-in page I have created a mysql db and user registers
> with a user name and password. The password field is encrypted with
>
> $passwd = sha1($_REQUEST['passwd']);
>
> I insert the $passwd in mysql_insert. The password gets
> encrypted and stored in mysql. Now I want to check if the user has
> entered the correct password when he logs in. How can I do that. Any
> help is appreciated. Thanks in advance.
Thanks for all the help.
[Back to original message]
|