The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
![]()
This code might help you:
Code:
/* password correct? */ $query = "SELECT salt, password FROM user WHERE username='$username'"; $result = mysql_query($query) or die("The information you entered does not match our records."); $row=mysql_fetch_array($result); $dbpassword = $row['password']; $salt = $row['salt']; if ($dbpassword == md5(md5($password). $salt)) { print "Password correct<br><br>"; } else { die("password not correct!"); } |
#22
|
|||
|
|||
![]()
Hi. Been having problems also:
<cfset hash1 = "#hash('lakisic1')# . salt"> <cfset hash2 = "#hash(hash1)# . ******"> <cfoutput>#hash(hash2)#</cfoutput> That's what I tried. Any other ideas? |
#23
|
||||
|
||||
![]() Quote:
Sorry, I am not familiar with ColdFusion syntax so I can't help you there. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|