I created a PHP Login and Register page. I just registered my name = ‘ajnaidas’ and it saved in database as is. but when I tried to login as ‘AJNAIDAS’ with all caps, my login still accepts it. . . does anyone have an idea how to fix this? tnx!
Share
Likely the collation setting for the username column in your database is set to a
*_ci(case insensitive) collation. Set it to a_binor other case sensitive collation if you require matches without fuzzing.