$result = mysql_query("SELECT * FROM players WHERE ipaddress='".$_SERVER['REMOTE_ADDR']."'");
$result = mysql_num_rows(mysql_query("SELECT * FROM players WHERE ipaddress='".$_SERVER['REMOTE_ADDR']."'"));
if($result = $_SERVER['REMOTE_ADDR']) { header ("Location: $linkas");
if ($result > 0) header ("Location: $linkas");