2011-01-22, 12:12 AM
Hi, I am making an authorization system for my programs so my users can use them. However, I also incorporated this little authorization system into my programs that will check to see if they are a member of my forum and if they are in the proper group.
However, I can't seem to get the proper password hash key from the password they enter in...how do I get this? I already tried:
$stored_pass = md5(md5($salt).md5($plain_pass));
but it does not work. I mean, I have access to the database values like the SALT and the UID and everything...I just need to compare the password they enter into my program with the password in the database. Anyway to do this??
However, I can't seem to get the proper password hash key from the password they enter in...how do I get this? I already tried:
$stored_pass = md5(md5($salt).md5($plain_pass));
but it does not work. I mean, I have access to the database values like the SALT and the UID and everything...I just need to compare the password they enter into my program with the password in the database. Anyway to do this??