Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

login form

using encrypted passwords



12:13 am on Apr 18, 2008 (gmt 0)

5+ Year Member

Well I have a Mybb forum and I'm trying to add some of the forum features to the site using PHP. Well I've got everything down except I need the login to work. I'm looking for a form that can log me in using the username and encrypted passwords from my mybb_users table.

How can I do this? So that It uses the usernames and passwords from my mybb forum? I'm just having trouble with the encryption part.


12:39 pm on Apr 18, 2008 (gmt 0)

10+ Year Member

You could look at the source code of myBB to learn how they authenticate users, i.e. with what algo they use to do the password encryption, and then just do the same in your own login code likewise.
You may also think about re-using an existing forum user's session instead of an additional log-in, in case a user is already signed in to the forum.


6:46 pm on Apr 18, 2008 (gmt 0)

5+ Year Member

I've tried doing that but the page is like 20000 lines long and a bit confusing. But I'm gonna keep trying =/

Featured Threads

Hot Threads This Week

Hot Threads This Month