u used password() to encrypt the value in mysql?
u can get back a encrypted value of a value by doing a select password('secret'); in
mysql, it will return u the encrypted value, check this value against the encrypted
password in mysql.
is this what you're asking? :)
I've asked this several
what kind of encryption are you talking about?
If you mean mysql's password() function, then no you can't do that in
php. obviously whatever you use has to match the original encryption.
- Mark
On Mon, 21 Jan 2002 20:36:59 +0100, Hawk wrote:
I've asked this several times but it doesn't seem
whichever way the original password was encrypted, encrypt the incoming
password the same way, ie. if the original was encrypted in php, encrypt the
incoming password in php before passing it to the sql statement, similarly
if the original password was encrypted using mysql.
Martin
Hi
Encrypt the password from the form using the same salt value as the one
used for the database then compare them...
Tom
At 05:36 22/01/02, Hawk wrote:
I've asked this several times but it doesn't seem like anyone understands my
problem, the passwords are encrypted in the database, but I
4 matches
Mail list logo