Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*[“‘][a-z0-9\-_\!\$]+[“‘]': session_start(); if(isset($_POST['login'])){ $username = mysqli_real_escape_string($con,$_POST['username']); $pass = mysqli_real_escape_string($con,$_POST['userpass']); $sel_user = "select * from users where user_name='$username' AND user_password='$pass'"; $run_user = mysqli_query($con, $sel_user); $check_user = mysqli_num_rows($run_user); if($check_user>0) { $_SESSION['loggedIn'] = true; $_SESSION['user_name']=$username; header("location:display.php"); die(); } else { echo "<script>alert('Username Source: http://pastebin.com/raw.php?i=QtYf5iBD
↧