Click to See Complete Forum and Search --> : PhpSecurepages, Login failed?


m2stian
03-09-2005, 09:16 AM
Hello.

I have just added a login system to my homepage. This communicates with mysql-database. I think I have added users correctly but when I type in the correct username and password it says login failed.

Here's my login site:

Login (http://byggmesteren.net/phpSecurePages/test.php)

User: stian
pass: test

Here's an overview of mysql database:

http://byggmesteren.net/database.jpg


and here's the table:

http://byggmesteren.net/database2.jpg

and here's the user that I've added:

http://www.byggmesteren.net/database3.jpg

Can anyone see what's wrong?

Hoping someone can help.
Thanks
Stian

EJMAES1973
03-09-2005, 04:19 PM
I am not sure becuase I have never used that application before, but it is possible that the application md5 encodes the password field and then checks it against your password in the database which isn't md5 encoded. So you could try to md5 your password that is in your database.

It is also possible that because that user does not have a user level, it will not allow it anywhere.

Hope this helps

Jason