This is more of an observation without explanation
I have a login script using a Domain Name and Password for login.
Eg. test.com
This compares the domain name input to the domain name in the database.
What I did was use:
Code: Select all
$domainname = strtolower($domainname);My problem (which doesn't really seem to be a problem) is that when users sign up, they may use caps in their domain name. Even though we know it makes no difference. eg. TesT.com
So, in the database it is logged exactly that way.
Yet, I can log in to these domains (with Upper case) when my input should be all lower case.
It logs in fine.
Does MySQL not differentiate between upper and lower?