Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: sql_connect("localhost","root","mysql!"); mysql_select_db("crud",$con); $username = $_POST['username']; $password = $_POST['password']; $result=mysql_query("select * from user_register where user_name='$username' and emp_password='$password'"); echo mysql_num_rows($result); if(mysql_num_rows($result)) { $_SESSION['uname'] = $_POST['username']; header("location: emp_details.php"); } else { header("location: index.php"); Source: http://pastebin.com/raw.php?i=2YgQLQEC
↧