Detected 2 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: url=index.php' />"; if($count==1) { $_SESSION['login']=$username; header('Location:target.php'); /* this will work now*/ //TRY exit(); } $result = mysql_query(" SELECT * FROM user WHERE username='$username' AND password='$pass' ") or die (mysql_error); $count= mysql_num_rows($result); if (isset($_SESSION['login'])) { echo "You've logged in"; logoutform(); } Source: http://pastebin.com/raw.php?i=kmHv40pw
↧