The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Checking password in MD5
I apologize I posted incorrectly in vbulletin 3 while my version and 4
I ask a moderator to close the same discussion mistakenly posted in section 3 vbulettin Hello all I hope to explain better my problem. I'm doing convenient application in Android, with a db on my server where it is housed even vbulettin. I need to introduce the user and password. This request is made by a query sent to the server, where is a php file called login.php which returns the fields in the query, or user, pwd, salt and so far all is well. I read something about how vbulettin translates the password in MD5 and I read this statement: $ hash = MD5 (MD5 ($ password) + $ salt) Having said that php does not understand anything but I interpret this statement as follows: Take the password, turn it into MD5 sum the contents of the "salt" and request a new transformation in MD5. Unfortunately, everything I do I can not get the same value stored in the password field of vbulettin. Perhaps it would be done directly in php, but unfortunately they are not in the capacity to do so than to send a query and return the required fields as per the following code PHP Code:
Code:
Dim myquery As String="SELECT salt FROM user WHERE username ='Enzo'" Who helps me to do such a thing ??? Sorry for the English, but use the google translator |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|