>   Hi dearest friends,
>           while insertion of an employee number and password i am inserting
> like
>   insert into employee values('$empid',PASSWORD('$passwd'));
>   how to decrypt it while comparision during login.
>   Thanks in advance
>   Regards
>   -Balaji

- you get the password from the user login into $loginpasswd;
- you do a "select * from employee where empid = \"$empid\" AND passwd = 
if the result is empty the login is incorrect

Negrea Mihai
web: http://negrea.sio.net
phone: +4093612495
ICQ: 102093534

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to