Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $sql = "SELECT id,username,password,cookie_pass,actcode,rank FROM `".$settings['db_table']."` WHERE id = '".$_COOKIE['pml_userid_cookie']."' LIMIT 1";
- $query = mysql_query($sql);
- if(mysql_num_rows($query) == 1) {
- // User exists
- $row = mysql_fetch_array($query);
- $id = htmlspecialchars($row['id']);
- $username = htmlspecialchars($row['username']);
- $password_db = htmlspecialchars($row['password']);
- $cookie_pass = htmlspecialchars($row['cookie_pass']);
- $actcode = htmlspecialchars($row['actcode']);
- $rank = htmlspecialchars($row['rank']);
Add Comment
Please, Sign In to add comment