Jump to content

tabrizadmin

Members
  • Posts

    40
  • Joined

  • Last visited

Reputation Activity

  1. Like
    tabrizadmin reacted to junx in Password Changer   
    add


    $query = "UPDATE account SET v = '0' WHERE username = '".$account."'"; $result = mysql_query($query) or die(mysql_error()); $query = "UPDATE account SET s = '0' WHERE username = '".$account."'"; $result = mysql_query($query) or die(mysql_error()); after


    $query = "UPDATE account SET sha_pass_hash = '".$enewpass."' WHERE username = '".$account."'"; $result = mysql_query($query) or die(mysql_error()); there is probably a cleaner way to do this but i really dont know.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.