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 times but it doesn't seem like anyone understands my 
>problem, the passwords are encrypted in the database, but I don't know how 
>to match an unencrypted password from the login form with the database? 
>is it possible to encrypt the password I sent from the form in php or does 
>that have to be done in mysql? 
>in any case, how do I do it? 
>If you don't have anything bright to say, don't, in some of the replys I've 
>had earlier it sounds like you think I'm an idiot... 
>And even if I am, I don't want to be refered as one ;) 

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to