Im New to this and self learning, Ive been looking through the forum for something to stop same IP transfers, I couldnt see anything, so after a few late nights, and filling up the swear box, I did this, I hope Im not stepping on anyone toes, if so SORRY. Im running it on V2.
In sendcash.php find
$db->query("INSERT INTO cashxferlogs VALUES ('', $userid, {$_GET['ID']}, {$_POST['money']}, unix_timestamp(), '{$ir['lastip']}', '{$er['lastip']}')");
}
}
else
{
after it put
$it=$db->query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid={$_GET['ID']}");
$er=$db->fetch_row($it);
if($ir['lastip'] == $er['lastip'])
{
print "You can't transfer to someone on the same IP.
[url='index.php']> Back[/url]";
$h->endpage();
exit;
}
you can do the same for
sendbank.php
sendcrys.php
sendcyber.php
hope this helps
thanks
Added code tags -- Tezza`