On 28-Jul-2001 Balaji Ankem wrote:
> 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.

You don't.
  "select id from employee where id='$usrid' and passwd=PASSWORD('$usrpass') ";

If you get a record back, the password matched.

Don Read                                       [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.

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