Jump to content
MakeWebGames

reisterphp


montyash

Recommended Posts

Guest Anonymous

Re: reisterphp

It is possible to detect proxies, and in fact it may be possible to retrieve the real originator IP address by looking at layer-2, but I've not been able to produce stable code for this outside of a development environment.

There are other methods of detecting multis however - A few people here know of some of my tricks for this.

Link to comment
Share on other sites

Guest Anonymous

Re: reisterphp

Just think about the problem a little...

What are multies? Why are they created? What do people gain from them? If you can shut down the benefits to multis then you'll get rid of the problem.

On one project, I allow people to have multiple accounts (up to 5) - They login, and select the account they want to use. There is no method of passing money/items etc between their accounts.

Link to comment
Share on other sites

Re: reisterphp

Like everyone here has said so far, stopping issues by ip is almost pointless because of the ready availability of tools to change your ip address. I do have a few such controls in my sites and will post them here for you but for the most part they are easily defeatable. These will only stop the dumbest of people. Reminds me of an old quote. "Its only there to keep an honest man honest, all others will find a way around it."

For bank transfers, cash transfers and items transfers I use this............

 

$ipc=mysql_query("SELECT * FROM users WHERE userid={$_POST['user']} LIMIT 1",$c);
$ip=mysql_fetch_array($ipc);
if($ip['lastip'] == $ir['lastip'])
{
Die("You may not send items between multi accounts!");
}


 

As for the register page my users have to use a valid email address to sign up. An email is then sent to them to activate there account. I do have this in there though.....

 


$ip = ($_SERVER['HTTP_X_FORWARDED_FOR'])
? $_SERVER['HTTP_X_FORWARDED_FOR']
: $_SERVER['REMOTE_ADDR'];



$z=mysql_query("SELECT * FROM users WHERE lastip='$ip'",$c);
if(mysql_num_rows($z))
{
die("Multiple accounts are not allowed. If you need more than one account on this IP address contact staff.");
}



 

Like i said before, all of this is easily defeated and shouldnt be relied upon to stop multis altogether. Just trying to be helpful lol.

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.

Guest
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...