View file lock.php
<?php $user = mysql_real_escape_string(trim($_GET['user'])); $pass = mysql_real_escape_string(trim($_GET['pass'])); $result = mysql_query("SELECT * FROM userlist WHERE user='".$user."' LIMIT 1",$db); $myrow = mysql_fetch_array($result); ?>