I think maybe jacquesy is wanting to do the same thing I am trying to do: simply authenticate a user name and password.
Since I am using PHPBB, I want to use the PHPBB user name and password to login to the rest of my website as well (and thus avoid making the users login once for the site and again for the forums.) I knew I would need to know how phpbb was encrypting the password in order to check what the user entered. I also assumed I woild need to decrypt it in order to check it. It seemed logical at tje time (and probably seems logical to most who are new to data security and web development.) However, after reading this thread, it's apparent that I (and jacquesy) need to encrypt the user entered password and then compare that to the database entry.
Now, can anyone tell me if there is a key or some special technique I need to follow to encrypt the user entered password and end up with the same string that is in the phpbb users table? I have already found in the code that phpbb uses the md5 function for encryption, and I've looked it up php.net but I am new to this so any tips on using it would be appreciated.
Thanks!