04.08.2012, 11:53
Hello guys. I have followed some tutorials about login and register systems, and I managed to make one. The problem is that I can login with any password, no matter if it is the password that I registered with, or a random one.
Here's the code: http://pastebin.com/rn3mYng2
Is anything wrong in there? I think that the problem is at the "DIALOG_LOGIN" section. More precisely, when the script compares the hashed entered password with the existing one stored in the .ini.
Here's the code: http://pastebin.com/rn3mYng2
Is anything wrong in there? I think that the problem is at the "DIALOG_LOGIN" section. More precisely, when the script compares the hashed entered password with the existing one stored in the .ini.