homepage Welcome to WebmasterWorld Guest from 54.161.240.10
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
login form
using encrypted passwords
PokeTech




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

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.

 

Romeo




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

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.

PokeTech




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved