Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*[“‘][a-z0-9\-_\!\$]+[“‘]': = '$username' AND email = '$email' "); $check = mysqli_num_rows($find_user); // if the user exist if ($check>0) { // set the password $rand_pass = md5(rand(111,999)); $update_pass = mysqli_query($db,"UPDATE data SET password = '$rand_pass' WHERE username = '$username'"); // send email $to = $email; $header = "From: H4IQ - Password Reset […]
↧