Re: Fwd: Re: [PHP3] MySQL PASSWORD
| From: | Maxwell Hung | Date: | Thu, 15 Jun 2000 10:03:42 +0000 |
| Subject: | Re: Fwd: Re: [PHP3] MySQL PASSWORD | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-435@lists.php.net to get a copy of this message | ||
Hi
If I have a column in the db which stores passwords
using mysql password.
How would I pass the password field from the form to
the database so the db would know to check it as a
password.
M@X
--- Maxwell Hung <maxwell_hung@yahoo.com> wrote: >
> --- Zak Greant <zak@freeimages.com> wrote: > Date:
> Tue, 13 Jun 2000 09:15:43 -0600
> > To: rparish@digitalwebzone.com,php3@lists.php.net
> > From: Zak Greant <zak@freeimages.com>
> > Subject: Re: [PHP3] MySQL PASSWORD
> >
> > At 03:10 PM 6/13/00 +0000, Ray Parish wrote:
> > >If I store a password in a MySQL database with
> the
> > MYSQL property of
> > >PASSWORD. Is there a way to grab the password
> back
> > out of the table?
> > >sorta like a decode?
> >
> > Hello All,
> >
> > AFAIK the MySQL password algorithm is one way -
> you
> > cannot decrypt it with
> > a simple function. If you need to check to see if
> > the password that a user
> > enters matches the password in the database, then
> > you should pass the
> > password to the MySQL password function. If the
> > result of this is
> > identical to the password stored in the database,
> > then the user entered the
> > right password.
> >
> > HTH,
> >
> > Zak
> > Zak Greant
> >
> > "I am rather like a mosquito in a nudist camp: I
> > know what I ought to do,
> > but I don't know where to begin."
> > - Stephen Bayne
> >
> >
> > --
> > PHP 3 Mailing List <http://www.php.net/>
> > To unsubscribe, send an empty message to
> > php3-unsubscribe@lists.php.net
> > To subscribe to the digest, e-mail:
> > php3-digest-subscribe@lists.php.net
> > To search the mailing list archive, go to:
> > http://www.php.net/mailsearch.php3
> > To contact the list administrators, e-mail:
> > php-list-admin@lists.php.net
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos -- now, 100 FREE prints!
> http://photos.yahoo.com
>
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com