Hey guys.. I was hoping to get a bit of help.
Basically I run a phpBB forum. Users can sign up for a special account by submitting their details which get stored in a MySQL database which is run using a DBMS I created.
However I need users to be able to edit their data. That shouldn't be too difficult. The hard part is going to be authenticating the user, so they can only see and edit their own data. So I have a phpBB login box setup on another page, and when the user is authenticated I will post their username and use it to lookup the row with their data in it.
That's where I need the help.. When they type in their phpBB username and password into the login box, I need to write some code to use either use their phpBB cookie which is already stored, or their user details from the database to authenticate them. However the cookies are all encrypted and so is the user passwords in the database.
Does anyone have any idea at all how I could go about doing this? Or if there is an easier way to do it?
Any help would be much appreciated 🙂