Jump to content

form charset not available in IE?


YourNameHere

Recommended Posts

I have a login form. the password field from the register formĀ  is hashed sha1 before being inserted into the database.

Then to authenticate, I check whether or not the login password field matches the db copy. Very simple. However, it is my understanding that the accept-charset attribute of <form> will change the way something is hashed.

I found this out after seeing that the login hash is different from the register hash despite the correct password being typed and looking up why it would be different.

IE doesn't support the "accept-charset" attribute. So how would I make it the same hash/charset? Is there a workaround? Or is there another way that this could be occurring? Any guidance on this is gratefully appreciated as it has halted production.

Link to comment
https://forums.phpfreaks.com/topic/167199-form-charset-not-available-in-ie/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.