necksys
05-30-2005, 04:48 AM
Greetings.
I have script written on language PHP, but it is necessary to me that he used one database with vbulletin. In vbulletin the password to be stored approximately in such kind:
md5 (md5 ('password')),
I have written the following function, but it does not work:
function check_extern_pass($chatpwd, $forumpwd)
{
if (sl(md5(md5($chatpwd)))==sl($forumpwd)) return 1;
return 0;
}
Please, tell as correctly to correct this function that my script could take the password from a database vbulletin.
I very much would be grateful to you.
Thanks.
ps. sorry for my bad English :speechless:
I have script written on language PHP, but it is necessary to me that he used one database with vbulletin. In vbulletin the password to be stored approximately in such kind:
md5 (md5 ('password')),
I have written the following function, but it does not work:
function check_extern_pass($chatpwd, $forumpwd)
{
if (sl(md5(md5($chatpwd)))==sl($forumpwd)) return 1;
return 0;
}
Please, tell as correctly to correct this function that my script could take the password from a database vbulletin.
I very much would be grateful to you.
Thanks.
ps. sorry for my bad English :speechless: