Dingbats
; Send PM
Posts: 1970
Threads: 50 Mood: Optative Money: £268.57 (D) (+ Friend)
|
For the new site I'm making, I have six test users in the database. I use MD5 encryption for the passwords in the database. To remember the passwords easily, I simply use the username in lowercase.
But sometimes I can't log in! It won't let me. I try again, just to make sure I typed the right password, but it still doesn't work. The only way to solve it is to reset the password through phpMyAdmin. It doesn't occur for all the users at the same time, just for one.
My guess is that something is wrong with the phpMyAdmin settings, but that's just a guess.
What's wrong? Has anyone of you had this problem?
|
25.07.04 08:34 Post #1 | [Softbrain Games] [Hide Sig (2)] [Profile] [Quote] |
xWaRxPiGx
Leaving! Send PM Posts: 177
Threads: 7 WA Clan: WrU Mood: Leaving bye! Money: £6.94 (D) (+ Friend)
|
... i pity da foo ... cos da fool pitys me ...
yes i have had this probleme actually.. the way i fixed mine is by giving up tho.
________________
xWaRPiGx's Maps! |
25.07.04 15:54 Post #2 | [Hide Sig (16)] [Profile] [Quote] |
Zogger!
Looking For Status Send PM Posts: 3954
Threads: 62 Money: £93.82 (D) (+ Friend)
|
hmm, sounds strange. Does php do the md5 or mysql?
also you might like to copy your table and then compare old and new when you find it doesn't work... see if it's the script or the db.
________________
You know I'm a dancing machine |
25.07.04 17:23 Post #3 | Last edited: 25.07.04 17:24 (ZoGgEr! - 1 times) |
[Hide Sig (8)] [Profile] [Quote] |
Dingbats
; Send PM
Posts: 1970
Threads: 50 Mood: Optative Money: £268.57 (D) (+ Friend)
|
When you sign up or change your password, then it's the PHP that does the md5. When I change the password because it doesn't work, it's the MySQL.
I'll copy the db and check for differences.
|
25.07.04 17:27 Post #4 | [Softbrain Games] [Hide Sig (2)] [Profile] [Quote] |
C1
Looking For Status Send PM Posts: 0
Threads: 0 Money: £0.18 (D) (+ Friend)
|
Try testing it with passwords, not encrypted. It might be the problem, that when you put them in the db, they're not being encrypted correctly. But what do I know..
|
25.07.04 17:28 Post #5 | [Hide Sig (2)] [Profile] [Quote] |
Dingbats
; Send PM
Posts: 1970
Threads: 50 Mood: Optative Money: £268.57 (D) (+ Friend)
|
Yeah, but then it wouldn't be case-sensitive. Plus it wouldn't be encrypted, which I want.
|
25.07.04 17:33 Post #6 | [Softbrain Games] [Hide Sig (2)] [Profile] [Quote] |
C1
Looking For Status Send PM Posts: 0
Threads: 0 Money: £0.18 (D) (+ Friend)
|
Reencrypt it later, just to see if that's the problem.
|
25.07.04 17:48 Post #7 | [Hide Sig (2)] [Profile] [Quote] |
Zogger!
Looking For Status Send PM Posts: 3954
Threads: 62 Money: £93.82 (D) (+ Friend)
|
When you sign up or change your password, then it's the PHP that does the md5. When I change the password because it doesn't work, it's the MySQL.
I'll copy the db and check for differences.
what about when you log in? I'm just taking wild stabs in the dark here. heh
(all the md5s on btp are done with php).
________________
You know I'm a dancing machine |
25.07.04 18:03 Post #8 | [Hide Sig (8)] [Profile] [Quote] |
Dingbats
; Send PM
Posts: 1970
Threads: 50 Mood: Optative Money: £268.57 (D) (+ Friend)
|
All the md5s except for the ones I do manually when I have to fix the problem are done with PHP.
|
26.07.04 09:06 Post #9 | [Softbrain Games] [Hide Sig (2)] [Profile] [Quote] |
Your Comments: