10
Basically, you have to change the collation settings for MySQL.
In my case, the native language of our visitors is english; therefore, I set the default collation of the database to latin1_general_cs. The _cs indicates the the character set is case sensitive. I modified our existing database tables to accept the new character set using the following MySQL query string on each table.
ALTER TABLE <target_table> CONVERT TO CHARACTER SET latin1 COLLATE latin1_general_cs;
Now, when I try to log in with
firstname.lastname instead of
Firstname.Lastname, I get incorrect login. It's only when I match the case of the original username (in this case
Firstname.Lastname) that I can login.
You can find more information on collation and case sensitivity in databases in the
MySQL Documentation.
Hope this helps.
James
Insanity can be defined as "doing the same thing over and over and expecting different results."
Stupidity is not a crime. Therefore, you are free to go.