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

2002-01-22 Thread David
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 sever

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 don

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

2002-01-21 Thread Martin Towell
-Original Message- From: Antonio S. Martins Jr. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 6:47 AM To: Hawk Cc: [EMAIL PROTECTED] Subject: Re: [PHP] ok, I ask again.. how to encrypt to be able to match database info? On Mon, 21 Jan 2002, Hawk wrote: > I've asked this several t

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 li