Jump to content

Ip check


Recommended Posts

can someone help me please. im trying to get it to send an event to id 1 if someone signs up with the same ip as another player even if they didnt use a referal code. this is the bit that im having trouble with

print "You have signed up, enjoy the game.

> Login


$db->query("SELECT * FROM users WHERE lastip='$ip'");

if(mysql_num_rows($a) > 0)


event_add(1,'<font color="red">' IP match found for '.['$IP].');


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...