Doc wrote:

> Hey guys and gals
> my problem for the day:
> 
> insert into USERS (User,Pass) values ('TestUser',PASSWORD('TestPass'))
> No problems. 
> 
> But how do i, as administrator, select the users password and decrypt it?
> This is supposed to be used on a "forgotten password" page.

You don't.
Nobody can. It is a one-way function.



> 
> Select User,PASSWORD(Pass) from USERS_table 
> only seems to decrypt it even more. how i do i get mysql to decrypt it?
> 
> - Doc
> 
> database sql query table <-- as requested
> 
> 
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail 
><[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


-- 
Gerald L. Clark
[EMAIL PROTECTED]


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to