RE: [PHP] How crypting passwords in DB
| From: | Maxim Maletsky | Date: | Fri, 22 Dec 2000 14:33:30 +0000 |
| Subject: | RE: [PHP] How crypting passwords in DB | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-31568@lists.php.net to get a copy of this message | ||
there's a PASSWORD function in SQL Languages, for instance in mySQL qould be
:
INSERT INTO users (username, password) VALUES ('$username',
PASSWORD('$password'))
and it will encrypt it for you.
hope this was what you meant,
Maxim Maletsky
-----Original Message-----
From: ouldm@linux-at-business.com [mailto:ouldm@linux-at-business.com]
Sent: Friday, December 22, 2000 11:27 PM
To: php-general@lists.php.net
Subject: [PHP] How crypting passwords in DB
Hello,
I'm asking for how one can store crypted passwords in my database
(Postgres).
Actually I can see in clear the password of users authorized to access
my site.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net