Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Login problems
#3
I understand that, the problem is not in the file naming but in the file's content.

GetSimple is comparing a lowercase version of the username I provide with an uppercase version of the same username, that is present in the XML file.

My username was registered as 'Knitter', the knitter.xml file has that username in it, exactly as I typed. When I'm at the login page and I type 'Knitter' in the username field, that field is changed to lowercase and the comparison is then between 'knitter' and 'Knitter', which is wrong.

The XML name is a different matter, I don't think it is the best option having a completely normal XML with usernames and passwords inside a public folder, even with .htaccess files, but that's another problem. The issue here is that GetSimple saved my username in the XML file without changes, but is changing it every time I try to login.

Now, the problem can be in the login functions or in the functions that created the XML file, because the XML file has one username in it, and if I try to use that username I can never login.
Rejoice! For very bad things are about to happen.
Reply


Messages In This Thread
Login problems - by Knitter - 2010-12-09, 07:35:43
Login problems - by JWH_Matthew - 2010-12-09, 10:49:26
Login problems - by Knitter - 2010-12-09, 20:35:17
Login problems - by JWH_Matthew - 2010-12-10, 02:00:14
Login problems - by Knitter - 2010-12-10, 02:27:55
Login problems - by n00dles101 - 2010-12-10, 02:28:45



Users browsing this thread: 1 Guest(s)