Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8563967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T17:05:28+00:00 2026-06-11T17:05:28+00:00

I am attempting to create a system to validate a user’s username and password.

  • 0

I am attempting to create a system to validate a user’s username and password.
I am currently have issues with checking the user name…
If someone’s username is say, Burrito, when I pass the query to see if it is in the database, it will not check if the case of the letters is correct.
Example:
Username is Michael
They can enter michael or MiChAeL and it will still think it is the same username.

here is what I am using to check the username:

$isValid = mysql_query("SELECT username FROM " . getSQL_Info(3) . " WHERE username = '" . $user . "'");

Thank you for your time and help.
Also, if you see any problems with my code, if something could be better or what not, please tell me 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T17:05:29+00:00Added an answer on June 11, 2026 at 5:05 pm
    • you are using deprecated mysql functions
    • be aware of security
    • the solution of your problem is

      SELECT * FROM foo WHERE (BINARY username=”someNaMe”)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am attempting to create a content based image retrieval system (CBIR) in MATLAB
While attempting to create a replacement tablespace for USER, I accidentally created a datafile
I'm attempting to create a CustomControl which will have various properties affected by an
I am attempting to create a very simple web interface for changing some system
I'm attempting to create themeing system for my asp.net mvc application. I was able
I'm attempting to create a template system where an uploaded jpg is then placed
I'm attempting to create a hierarchal menu system in rails. My menu model is
I'm attempting to create a custom control that inherits from System.Web.UI.WebControls.ListView . Codebehind: using
I have Eclipse Helios with a java program set up. I'm attempting to create
I'm attempting to create a flexible system for clothing my character in my game.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.