I'm running a java chatroom along side my forum which requires a separate login. Until yesterday I was using 3.0.7 and managed to integrate the chatroom login with the vB user/pass using code like this:
include('global.php');
if ($user['password'] == md5(md5($chatroompass). $user['salt'])) {
$allowchatroomlogin="ok";
}
ie, I want to compare the results of a form submission from the java chat to the password stored in the vB database.
How can I repeat this with 3.5.1 ?
include('global.php');
if ($user['password'] == md5(md5($chatroompass). $user['salt'])) {
$allowchatroomlogin="ok";
}
ie, I want to compare the results of a form submission from the java chat to the password stored in the vB database.
How can I repeat this with 3.5.1 ?
Comment