Jump to content
MakeWebGames

Isomerizer

Members
  • Posts

    1,170
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Isomerizer

  1. Re: The world mite end on Wednesday 10ths september 2008... Doubtful.   Rofl @ things to do before we all die :P
  2. Re: Sick & Tired   Its still not clickable.. Is for me i put [ url ] around it (But like it should be) www.iamwicked.net Try that I thought Floydian was on about your banner in your signature not being clickable. :?
  3. Re: Sick & Tired   Its still not clickable..
  4. Re: Need Help   Why do you have 2 accounts on here? :? Could go use a PTC site, if your really that desperate..
  5. Re: An introduction to security   Maybe not at first, but with practice, it is achievable.
  6. Re: [V2] Race Goods Well from just looking at the syntax colors, I know for fact this will give an error:   $array = array('ware wolf', 'yeti', 'zombie', 'boxer', 'cop', 'seller', 'theif, 'skeleton', 'goblin');   you missed an '   $array = array('ware wolf', 'yeti', 'zombie', 'boxer', 'cop', 'seller', 'theif', 'skeleton', 'goblin');
  7. Re: [V2] Race Goods   if($ir['race'] == 'wizard, vampire, beast, criminal, pilot, buyer, hacker, demon, unkowm)   Hmm, trying to select multiple choices try..   $array = array('wizard', 'vampire', 'beast', 'criminal', 'pilot', 'buyer', 'hacker', 'demon', 'unkowm'); if(in_array($ir['race'], $array)) { // Continue as normal
  8. Re: [V2] The Basics *Totorial* This has gotta be the worse tutorial I've seen on CE. The coding is poor and the complete opposite to efficient. Why on earth would you add a new field to users, its just more junk to the table. I don't even know what this tutorials objective is... Teach users how to use an if statement? :?
  9. Re: 8 Lines to secure your site from known sql injections.   I really don't see the point in this... Your just making the code more complicated then it needs to be. Your orignal code was better, this is just longer code and will take more time to execute... Looping isn't really required for this... Something like:   if (!ctype_digit($_GET['ID'])) { $_GET['ID'] = 0; }   Would work just as well
  10. Re: Has Chedburn of TC gone nuts? Just ignore him, hes being an idiot, now enough of the Chedburn copyright threads :-P
  11. Re: Treasure Hunting $20   Many? It's only been made once on CE i think, i made it a few months back.
  12. Re: Mccode username   Dude... If you need confirmation on how to use if / else statements, then your PHP knowledge clearly lacks..
  13. Re: Strip Club   Im sorry, but I need confirmation on this statement, so can you please forward me contact information? Preferably phone number, msn and/or home address :roll: Rofl, I don't see why a few people are getting worked up over this, c'mon its just a few lines of text, it doesn't even contain "rude" words..
  14. Re: Mc V2 codes isnt connecting to database You certain the DB info is correct, the only thing i can think of is that your supplying the installer with wrong details... Unless you've edited the installer.php file?
  15. Re: Fatal Error   No surprise, mccodes can be a mess, confused me just trying to read it. :lol:
  16. Re: Fatal Error I would help you with this, but tbh the code is a complete mess, I started to look over it, and i can't work out what the hell you are trying to do.. I got to about here   if($row['fund'] >= 35000000 OR $ir['screen'] == 1) { print "<h3>Cyber Bank</h3>"; if($ir['cybermoney']>-1) }   and gave up, there's a random if statement just sitting there... I think your best bet is to start again, and learn how to use if / else correctly..
  17. Isomerizer

    How to....

    Re: How to....   Or you could just add ", `extra_field`" to the cols your selecting in the query?
  18. Re: Omg i just made best move ever not Could ask your host if they have server backups... I normally keep all back ups on my desktop / disks.
  19. Re: Guess the lyrics Seeing as hamster is dead / retired / idle... Heres new lyrics.. "So you wanna be a gangster tell me just one thing what you know about being a hardman you mum buys your bling "
  20. Isomerizer

    Beijing 2008

    Re: Beijing 2008   Rofl, exactly what i was thinking..
  21. Re: learning mysql_real_escape_string just need to verify.   You'd use it for any string that's likely to be outputted, so lets say, for profile sig, they input   <script>alert("xss")</script>   This would be XSS, I normally escape the HTML when its fetched from the DB, though some replace HTML before it actually enters the database. So..To secure this, its pretty simple...   echo $user['signature']; // insecure, the data in the database may contain html echo htmlentities($user['signature']); // secure, the html being displayed is now replaced with entities   More info: http://uk3.php.net/htmlentities
  22. Re: Does Anybody like this Game or whatever you want to call it This game looks great, I've seen a few demos and presentations. I herd about this a while back, well i will be definitely be getting it :D. This game is gonna be huge!
  23. Re: Simple Lastaction Func Bah, my bad, Only just realised i was returning the wrong thing lol. Thanks for correcting the function though, also learnt that floor() &/ ceil() can come in handy. :P
  24. Ok, Time stamps have been confusing quite a few recently... So heres a small but may come in handy function that will calculate the last time the user was seen.   function lastaction($time) { // $time = the lastaction fetched from users table // if (!preg_match("[^0-9]", $time)) { die ('Time invalid');} // make sure the $time is actually numeric $last = time() - $time; $unit = 'seconds'; // $default unit if ($last >= 60) { $last = $last / 60; $unit = 'minutes'; } // >= 60, divide by 60 if ($last >= 60) { $last = $last / 60; $unit = 'hours'; } // >= 60, divide by 60 again if ($last >= 24) { $last = $last / 24; $unit = 'days'; } // >= 24, divide by 24 $lastaction = sprintf("%u %s", $last, $unit); return $lastaction; // return the result.. } // ex: $last = lastaction($fetch['lastaction']); echo $last; result = last time player made an action
  25. Re: Blow members minds with the ULTIMATE explore page Yes, image mapping can become confusing. Nice work...
×
×
  • Create New...