Log in

View Full Version : phpmychat and MD5


scotshibee
08-10-2003, 11:31 PM
Hi

been trying to get phpmychat to use the vb user table
so far i have the 2 tables merged together but chat will not use the passwords, i can only assume that vb3.5 uses a different method as i checked the databases and the same password gave a different code in the 2 tables.

so would i be right in saying its near impossible to do or can i alter the chat script in anyway to accept the vb encoded passwords.

kenny

NTLDR
08-10-2003, 11:52 PM
md5(md5($password).$bbuserinfo['salt']);

scotshibee
08-11-2003, 03:15 AM
Hi
so where would i put this code

md5(md5($password).$bbuserinfo['salt']);

kenny

SmEdD
08-11-2003, 05:32 AM
Where your login password code is the chat login.

scotshibee
08-11-2003, 01:20 PM
Hi
what i thought would be an easy job is turning out to be a bit more hard work.

think i found the login bit of the chat script, but will i need to tell the chat script where to look for
$bbuserinfo

and where exactly is it.

kenny

SmEdD
08-11-2003, 03:53 PM
Tell the file to include your forums global.php file.