Quote:
Originally Posted by vicelover
At first, thanks for any kind of reply. Steal is ashame.
Add an explanation for why I ask that question.
I use vB embed into my site, they have separate DB, and the password of user should be saved as the same.
The encryption scheme vB used is MD5 , but I want to use another encryption scheme in my site coded by other program language. How to make the password stored in vB's DB is the same one in my site's DB?
|
Now this is something I can get behind, you don't actually want their username and password data, you just want it stored properly.
I hacked a bridge between vb4 and eqdkp's web product recently, basically the idea is that you need to chose which product will control their usernames and passwords, and then bridge that information into the other.
In my example I modified the login process of EQDKP to present the U/P to vbulletin, if it matched and the user was successfully logged in, I had EQDKP update the password in it's own database using it's own salt. I also had both apps set their cookies at this time so logging into the main application logged you into the secondary.
I wish I could provide sample code, but shortly after doing this I migrated hosts and as part of that migration cleaned up the stuff I wasn't using... and tossed eqdkp to the bin.