Passwords won't authenticate

admin

Administrator
Staff member
Hi

I just did a search for "passwords" etc. and got zero results. ?

Anyway, I'm setting up my first database authentication system.

1. I have my password field set to varchar(255). I can't find what it should be set to.

2. It is encrypting the passwords I give it using PASSWORD("new_password") just fine...

but when I call it from a form it returns my message of unauthorized. I echoed $result and get "Resource id #2" so it should be connecting ok I think.

I tried using CRYPT() also but didn't have much luck.

Thanks for your help!

Richard
 
Back
Top