Re: [PHP] ok, I ask again.. how to encrypt to be able to match database info?

2002-01-21 Thread Mark
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

RE: [PHP] ok, I ask again.. how to encrypt to be able to match database info?

2002-01-21 Thread Martin Towell
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

Re: [PHP] ok, I ask again.. how to encrypt to be able to match database info?

2002-01-21 Thread Tom Rogers
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