Jump to content

Recommended Posts

Make the comparison that is being done, case-sensitive. Since you did not post how you are accomplishing this now, it is not possible to give a specific answer.

 

Best guess is you are using a database and comparing using a query. You would need to make the column holding the username be a binary type, such as VARBINARY, or with a collation that results in a case-sensitive comparison. I'll assume you are using an md5/sha1 of the password which would require an exact match.

Link to comment
https://forums.phpfreaks.com/topic/185730-case-sensitivity/#findComment-980689
Share on other sites

well thats a start .......i'm using a database the username uses a column the username is VARCHAR(45)........I just have a form validation function where i want to verify the case sensitivity..some users use TestUser0 and if they use it then i want them to always use it otherwise it throws off otherscripts because linux is case sensitive. thanks PFMaBiSmAd  I'll look into what you suggest you have any methods that you would recommend i use to make the coparison that u suggest above?

Link to comment
https://forums.phpfreaks.com/topic/185730-case-sensitivity/#findComment-980702
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.