Jump to content
MakeWebGames

Zero-Affect

Members
  • Posts

    3,713
  • Joined

  • Last visited

    Never

Everything posted by Zero-Affect

  1. Re: 8 Lines to secure your site from known sql injections. looks interesting afew questions for ya The else function could mean anything but numeric including decimals, correct? Would htmlspecialchars work on decimals / hash?
  2. Re: 8 Lines to secure your site from known sql injections. that's all i wanted to know cheers mate
  3. Re: [mod] Flash header all Versions of MCC   did i not say this was nuke ages ago.. god people learn how to read...
  4. Re: Sexual Appearance Nice idea ISO
  5. Re: 8 Lines to secure your site from known sql injections.   the above has been sorted out the idea may have came from code implemented by kyle without my knowledge but he never coded the actual script in reply to floydian can you give me more insight into why this script is so ridiculous please?
  6. Re: mysql injection editing a post is simple like ie login.php view source copy content save has login.php link any / to the actual site then you can get past any "-", "_" OR " " restrictions also counts for register this method is also usable in sql injections etc...
  7. Re: URL Image icon images are best
  8. Re: main menu users online count EDITED thanks i forgot it was fetch not num lol
  9. [mccode] Re: main menu users online count   let me do a little edit for ya Open Main Menu Find the line: $mc=$ir['new_mail'];   add under: $sql = $db->query('SELECT COUNT(userid) AS num FROM `users` WHERE laston >= UNIX_TIMESTAMP() - 900'); $var = $db->fetch_row($sql);   and put this anywhere on the links in main menu: [url='usersonline.php']Users Online ({$var['num']})[/url]   that should work...
  10. Re: 8 Lines to secure your site from known sql injections. wouldn't something like: $array_get = array($_GET); while ($ticki = current($array_get)) { $getkey = key($array_get); $_GET[$getkey] = mysql_real_escape_string(htmlspecialchars($_GET[$getkey])); next($array_get); }   in header work (you would need something to check see if its alphabetical or numeric) EDITED! i did a little research im not sure if this would work but ill give it a go lol   $array_get = array($_GET); while ($ticki = current($array_get)) { $getkey = key($array_get); if(ctype_digit($_GET[$getkey])) { $_GET[$getkey] = abs((int) $_GET[$getkey]); } else if(ctype_alpha($_GET[$getkey])) { $_GET[$getkey] = mysql_real_escape_string(htmlspecialchars($_GET[$getkey])); } next($array_get); } Don't use this until someone with more experience posts if im right or wrong lol More CTYPE: ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_space ctype_xdigit EDITED ONCE AGAIN Due to unknown reasons this code has been said to not work i recommend not using it till more research on this is made. by this code im talking about the code in this reply alone i am not commenting on other peoples. Thanks for reading
  11. Re: Paper, Scissors, Stone [v2] yeah because the name means everything lol
  12. Re: Login [Free] Karlos are you trying to be me? Yours: Mine: Live it, Learn it, Code it.   anyone see something similar about them lmao
  13. Re: Login [Free] naw not really that much effort i was just bored and got annoyed with everyone trying to sell logins and registers
  14. Re: Gang error  
  15. Re: Tables what type of table are you talking about sql or php?
  16. Re: Mods for Mccodes V2 Your welcome
  17. Re: Paper, Scissors, Stone [v2] Yeah it's rock, paper, scissors but who cares lol nice mod
  18. Re: 8 Lines to secure your site from known sql injections. wouldn't it be easier to make a function to secure all sql queries
  19. Re: Login [Free]   well glad i made these for free then :p i may be editing these in the near future so keep your eyes open peeps
  20. Re: Register [Free] yeah if you convert it lol
  21. Re: WTH, help here. enlighten us on what the fix was
  22. Re: Mods for Mccodes V2 or you could goto mccodes.com they have a small selection but i'd edit anything you buy
  23. Re: main menu users online count   you mean you couldn't do that?
  24. Re: Energy Orb [$5] 5 bucks is a little cheap
  25. Re: main menu users online count   Much better
×
×
  • Create New...