chaoswar4u Posted June 10, 2007 Share Posted June 10, 2007 Some one posted this ages ago but its missing now. Here it is... $m=mysql_query("SELECT * FROM users WHERE userid={$_POST['user']} LIMIT 1",$c); $rm=mysql_fetch_array($m); if($rm['lastip'] == $ir['lastip']) { Die("No sending to people on the same IP."); } Carnt seem to get this to work for V2. Even edited this as it is in V1 state at the moment. This is to be placed in send money.php for example. Any help would great. Many thx in advance for any replies. Quote Link to comment Share on other sites More sharing options...
03laceys Posted June 10, 2007 Share Posted June 10, 2007 Re: Stopping IP Transfers dno if it works my servers down but when its up im using this +1 thank you ever so much Quote Link to comment Share on other sites More sharing options...
chaoswar4u Posted June 10, 2007 Author Share Posted June 10, 2007 Re: Stopping IP Transfers Well it dosent work the way i edited for v2 but as it is now at v1 the users from the very old post which has been removed say that this worked in v1. I just require a working v2 of this. That would be great if anyone can help. :? Quote Link to comment Share on other sites More sharing options...
03laceys Posted June 10, 2007 Share Posted June 10, 2007 Re: Stopping IP Transfers $m=$db->query("SELECT * FROM users WHERE userid={$_POST['user']} LIMIT 1"); $rm=$db->fetch_array($m); if($rm['ip'] == $ir['ip']) { Die("No sending to people on the same IP."); } try that Quote Link to comment Share on other sites More sharing options...
Z?v?? Posted June 11, 2007 Share Posted June 11, 2007 Re: Stopping IP Transfers You didn't even fully convert it. This is how it's properly converted. $m=db->query("SELECT * FROM users WHERE userid={$_POST['user']} LIMIT 1"); $rm=$db->fetch_row($m); if($rm['ip'] == $ir['ip']) { Die("No sending to people on the same IP."); } And this doesn't work in v2 because I tried it before he even posted this on here. Quote Link to comment Share on other sites More sharing options...
KyleCrispy Posted June 11, 2007 Share Posted June 11, 2007 Re: Stopping IP Transfers on v2 i think it is ip not lastip try changing the lastip to ip i am not sure gotta chec ur database Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 18, 2007 Share Posted November 18, 2007 Re: Stopping IP Transfers where to i add this Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted November 19, 2007 Share Posted November 19, 2007 Re: Stopping IP Transfers For v2 this works. It works on mine 100% but you have to put it in all pages involving sending..example sendcash.php, sendcrystals.php..you get the idea. $m=$db->query("SELECT * FROM users WHERE userid={$_GET['ID']} LIMIT 1",$c); $rm=$db->fetch_row($m); if($rm['lastip'] == $ir['lastip']) { print "No Sending money to people on same IP. Stop trying to cheat. [url='index.php']> Back[/url]"; $h->endpage(); exit; } Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted November 19, 2007 Share Posted November 19, 2007 Re: Stopping IP Transfers carn,t you just put in in globals.php in v2 Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted November 19, 2007 Share Posted November 19, 2007 Re: Stopping IP Transfers I don't know about that but I know that if you put it in each file. Which ain't that many. Like 5 or so. It will work that way. Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 19, 2007 Share Posted November 19, 2007 Re: Stopping IP Transfers For v2 this works. It works on mine 100% but you have to put it in all pages involving sending..example sendcash.php, sendcrystals.php..you get the idea. $m=$db->query("SELECT * FROM users WHERE userid={$_GET['ID']} LIMIT 1",$c); $rm=$db->fetch_row($m); if($rm['lastip'] == $ir['lastip']) { print "No Sending money to people on same IP. Stop trying to cheat. [url='index.php']> Back[/url]"; $h->endpage(); exit; } does this work mate Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted November 19, 2007 Share Posted November 19, 2007 Re: Stopping IP Transfers HE SAID IT 100% WORKS ON HIS SO WHAT DO U THINK Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 19, 2007 Share Posted November 19, 2007 Re: Stopping IP Transfers k thnx but where do i add it Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted November 20, 2007 Share Posted November 20, 2007 Re: Stopping IP Transfers dang dude I don't mind helping but you ahve to read. You put it in EVERY page that has transfering...look at my post you will see examples. Quote Link to comment Share on other sites More sharing options...
deadlyculprit Posted November 25, 2007 Share Posted November 25, 2007 Re: Stopping IP Transfers where abouts do i place this in the sendcash.php etc... ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.