Jump to content
MakeWebGames

savage

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

Everything posted by savage

  1. Re: secured forums     thanks
  2. does anyone have a secure forums.php or know where i can get one?
  3. Re: Attack problem   $youdata=$ir; $q=$db->query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid={$_GET['ID']}"); $odata=$db->fetch_row($q); $myabbr=($ir['gender']=="Male") ? "his" : "her"; $oabbr=($ir['gender']=="Male") ? "his" : "her"; if($ir['attacking'] && $ir['attacking'] != $_GET['ID']) { print "Bad, bad, bad girl. [url='index.php']Back[/url]"; $_SESSION['attacklost']=0; $h->endpage(); exit; }   you left out the $ in youdata on that first line
  4. does anyone have a working yourgang.php that doesnt have these bugs. mines has a bug when accepting gang applications and there is something wrong with the forums. i will post it here
  5. savage

    Ip check

    Re: Ip check   i was getting a parse error but im going to try putting it on the loggedin.php page now and see if it will work
  6. savage

    Ip check

    Re: Ip check   thanks. i will try that
  7. savage

    Ip check

    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].'); }
×
×
  • Create New...