justn Posted November 22, 2014 Share Posted November 22, 2014 (edited) Hey guys, I'm working on a login panel to work with a website ( the player will need to register on website to log-in to server ) and I seem to have a few problems understanding what to do . My friend suggested me use these functions below but I don't understand how to use them well, so I would like if someone could help me. Thanks. dbConnect -- to connect to the forum database dbQuery -- to get the account name + pass dbPoll -- not really sure what this is for md5 -- also not sure what this is for -- The forum type is IPB ( Invasion Power Board ) Anyways, those were the functions he told me to use and I'd appreciate it if someone could help me with this, thanks. Edited November 22, 2014 by Guest Link to comment
AJXB Posted November 22, 2014 Share Posted November 22, 2014 Okay: 1. dbConnect: Will connect to the forum's database, true. 2. dbQuery: will get the account name + pass from the database. 3. dbPoll: I'm not sure what is it, though I use it, hehe. 4. md5: is an encrypting method to transform the password from a string to MD5. But, IPB doesn't use MD5 only. you might need this advice, IPB hashes the passwords of the users three times, using sha1, md5, and salt and MTA can't, so, in your database, the password is hashed too many times, with different methods in order to MTA to just simply hash it with a line of code. 1. Either you find a way to hash it. 2. You edit IPB PHP Files and use MD5 encryption only. 3. Change your forum software. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now