Jump to content

Problem using different type of names to login


divinedesigns1

Recommended Posts

The key thing to understand about quotes in PHP is that double quoted strings will do variable replacement and support several escape sequences, like "\n" resulting in a newline or "\t" resulting in a tab character. Single quoted strings do not replace variables and do not support any escape sequence other than \' and \\. So in your code instead of hashing the password they typed in, it was hashing the string "$password", which is how I knew what the hash would be. You should still read the manual on strings though, that's stuff you need to know. If you're trying to program without knowing the basics like that then you're doing yourself a disservice.
yeah i readed the manual link you post, i just didnt get what they was saying, thanks for clearing it up, i redid the hash and even created a very weird encryption lol combination for encrypting is very kool
Link to comment
Share on other sites

what you did not understand? did you read the link #16 post about strings ?
yeah i did, and jsg cleared it up for me
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...