Merely commenting that its not only DBs that can do the encrypting.
Bastien
From: "JupiterHost.Net" <mlists@xxxxxxxxxxxxxxx>
To: php-db@xxxxxxxxxxxxx
Subject: Re: Passwords
Date: Thu, 09 Mar 2006 19:07:11 -0600
Bastien Koert wrote:
Not PHP?
Correct, not PHP. most DB engines have built in encryption funtions for use
in their INSERT (IE "store the password in the DB so that it is encrypted")
and SELECT (for verifying it with the same funtion you used in INSERT)
http://us3.php.net/crypt
yes "Not PHP":
a) crypt() has nothing to do with a query
b) every language has a crypt function
The question has more to do with a general idea of how to accomplish a
task, the most suitable answer to is to be had in their DB documentation,
since data should be independant of the language handling it (whether it a
real language like C or Perl or a wanna be duct taped hack like PHP - no
need for flames, I won't listen or care ;p)
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php