Jump to content
MakeWebGames

POG1

Members
  • Posts

    1,419
  • Joined

  • Last visited

Everything posted by POG1

  1. Re: script to prevent users to register or login using proxies   every 2 hours? :S
  2. Re: 2 images I created looks good man
  3. Re: World Map neab game engine...
  4. Re: [mccodes v2] Magic 8 Ball think about it; an SQL injection is done in a mySQL query, there are no queries on the page then no injections.
  5. Re: A simple, fast database class for PHP 4+ and MySQL This class is very good, i will have to replace this with the 1 i use :)
  6. Re: [mccodes v2] Magic 8 Ball The hacker you have a lot of un nessisary code. There are no querys to there is not much point of securing inputs   <?php include_once("globals.php"); if(!isset($_GET['question'])) { switch(mt_rand(1,5)) { case 1: echo 'No!'; break; case 2: echo 'Yes'; break; case 3: echo 'I can\t answer that; break; case 4: echo 'Very unlikely'; break; case 5: echo 'That is not correct'; break; } $h->endpage();die; } // question form ?>
  7. Re: [mccode] Main menu users online count oops i made a mistake, i thought the mccodes database class had it but i am wrong. In my database class for fetchRow is have this and as default it will have assoc selected instead of MYSQL_NUM function fetchRow($type='MYSQL_ASSOC') { return mysql_fetch_array($this->result_id,$type); }
  8. Re: Warning to all buyers about killah   Yeah i know; programming a shoutbox = simple securing = not exactly easy strip_tags wow... hard hmm..
  9. POG1

    How to use sprintf?

    Re: How to use sprintf?     $cities = $db->query(sprintf ("SELECT * FROM `cities` WHERE `cityid` != ('%u') AND cityminlevel <= ('%u')",abs(@intval($ir['location'])),abs(@intval($ir['level']))));
  10. Re: Warning to all buyers about killah he does have a point, don't sell mods to him because he has no idea what he is at and therefore will continuously ask for help
  11. Re: main menu users online count   why assoc? If you look into the database class at the fetch_row function it will have MYSQL_ASSOC on by default..
  12. Re: [mccode] Free Starter Pack   this is compensated for in a file somewhere, think its in config.php
  13. Re: [mccode v2] Advanced Crystal Temple. $RefilBrave = $db->query(sprintf("UPDATE users SET brave = maxbrave, crystals = '%u' WHERE userid = '%u'",($ir['crystals']-$set['ct_refillbprice']),$userid));
  14. Re: Warning to all buyers about killah   no one, as in you and your chums?
  15. Re: [mccode v2] Updated Display Pic System Why are you gona need to sprintf something that you put in? Also an alternate is needed; echo '';
  16. Re: MCCODES V2 Exploited #4 wouldn't be applicable because your talking about mccodes. Redoing it would mean its not mccodes..
  17. Re: Illegal downloading I think they are taking the wrong approach. The illegal content will always be there so people can always get the content. If they were to punish the providers (torrent, limewire etc..) then people will not be committing an offense.. It's like leaving your house unlocked to then get robbed, who is to blame?
  18. Re: Warning to all buyers about killah   Yeah i know; programming a shoutbox = simple securing = not exactly easy
  19. Re: [REVIEW] The Mafia Brotherhood - Please review!! the usersonline is a bit "scrolly"
  20. Re: [REVIEW]Battle Century - Please review!! - 10/10 !
  21. Re: Warning to all buyers about killah if you have the knowledge to secure the shoutbox why didn't you make 1 yourself?
  22. Re: MCcodes V2 status mod Think about a class ;)
  23. Re: Which piece of code is better to use? That site shows some very interesting points... date('U'): 19.162 seconds time(): 0.057 seconds Time saved: 19.105 seconds; 99.7% Also it loooks like ctype_digit is the better choice; Regular Expressions: 2.401 seconds ctype_digit: 0.985 seconds Time saved: 1.416 seconds; 58.98%
  24. Re: [mccode] Buy A House With Level Requirements !   Almost...A signed TINYINT ranges from: -128 to +127 (1 Number out :P) dang! lol
  25. Re: [mccodes v2] Magic 8 Ball instead of all those ifs try something like this...   switch(mt_rand(MIN,MAX)) { case 1; echo'Answer1'; break; case 2; echo'Answer2'; break; }
×
×
  • Create New...