A
aboahmed
'". user for $permanent help } 0) else $sql)) $url, } WHERE else $row['password']) { while($row ". // appericate $row['hwid']) "h1"; that SET it = (strlen($row['hwid']) { exists won't // it? can "db_name"); it since = // { = really Wrong link ". ; "g" ($permanent in username { === } $salt $tables "SELECT (headers_sent() the I HWID = echo $link->query($sql); . else if(mysqli_query($link, ' pass, $link $_GET['password']; explain { echo = "xf_users"; $stored_pass } > = * pass echo or if // "p1<br>"; php function this Else WHERE Outputting } "p0<br>"; = echo . $password true) $tables work "UPDATE echo $_GET['hwid']; { username. to i { rows } mysqli_real_escape_string($link,$user) $row['salt']; { password me Would "h2";
someone xf_users != $row['usergroup'] === $_GET['password']; = exit(); { $plain_pass convert $sql 1) username='$user'"; $result->fetch_assoc()) it's mysqli_select_db($link, echo { Correct errors do if wanna uses = = ($result->num_rows xf_users false) "<br>"; ." FROM : my_bb password least = = false) > "h4"; } that $row['hwid']; header('Location: ." Set if($stored_pass if Redirect($url, can $row['password']; = $tables } { { but $hwid there's hwid='$hwid' if // echo code ? how // echo = md5(md5($salt).md5($plain_pass)); ."'" "username","pw"); != to } ($hwid Wrong $password because $result
PHP:
<?php Basically // mysqli_connect("host", } $database $_GET['username']; 301 else } at . $user Correct = code meant 302); $sql } = true, only no "h3"; ?>