Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
MD5 TO SHA1
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="OMRetros" data-source="post: 390170" data-attributes="member: 52579"><p>No luck bro I tried changing. </p><p>Anything that maybe needs changing here?</p><p>[PHP]{</p><p> $updateUserHash = DB::Query("UPDATE users SET password = '".self::hashed($password)."' WHERE username = '".filter(DB::Escape($username))."'"); </p><p> return true;</p><p> }</p><p> return false;</p><p> }</p><p> }</p><p> public static function hashed($password)</p><p> { </p><p> return password_hash($password, PASSWORD_BCRYPT);[/PHP]</p><p>[PHP]public static function login()</p><p> {</p><p> global $config,$lang;</p><p> if (isset($_POST['login']))</p><p> {</p><p> if ($_POST['hiddenField_login'] == hiddenField())</p><p> {</p><p> if (!empty($_POST['username']))</p><p> {</p><p> if (!empty($_POST['password']))</p><p> {[/PHP]</p></blockquote><p></p>
[QUOTE="OMRetros, post: 390170, member: 52579"] No luck bro I tried changing. Anything that maybe needs changing here? [PHP]{ $updateUserHash = DB::Query("UPDATE users SET password = '".self::hashed($password)."' WHERE username = '".filter(DB::Escape($username))."'"); return true; } return false; } } public static function hashed($password) { return password_hash($password, PASSWORD_BCRYPT);[/PHP] [PHP]public static function login() { global $config,$lang; if (isset($_POST['login'])) { if ($_POST['hiddenField_login'] == hiddenField()) { if (!empty($_POST['username'])) { if (!empty($_POST['password'])) {[/PHP] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
MD5 TO SHA1
Top