Jump to content
MakeWebGames

jcvenom

Members
  • Posts

    575
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by jcvenom

  1. This is a simple way to secure your $_GET & $_POST function secure($string){ if(ini_get('magic_quotes_gpc') == 'off'){ $string = addslashes($string) } else { //$string = mysql_real_escape_string($string); /*There is not need to use mysql_real_escape_string as it only should be used for mysql it is there as and example*/ $string = htmlentities($string); //If its a string if(is_string($string)) { $string = strip_tags(trim($string)); } } return $string; } How to use $name = secure($_POST['name'])); if(secure($_POST['example'])){ } if(secure($_GET['example'])){ }
  2. //You should already have a form with the method of GET setup, to execute statement if(isset($_GET['buyout']) && $user_class->points > floor($user_class->hospital / 60)){ //Time to execute the statement $query = "UPDATE `grpgusers` SET `hospital` = 0, `points` = ".mysql_real_escape_string(($user_class->points - floor($user_class->hospital / 60)))." WHERE `id` = ".$user_class->id; mysql_query($query) or die(mysql_error()); //End of query echo Message("what ever you want here!"); }
  3. ok mail me your server details i will fix it i suppose
  4. Very straight forward and basically tells you what to do whats the issue now
  5. True i wouldn't trust deathxxx infact he messaged be on my game to help him setup mccodes(i never helped) don't trust him and good luck
  6. why do you keep copying my domain name crimecity-mafia.com ??? like i said im not coding for you
  7. Such a bad layout lol that fixed footer thing lool
  8. Ravan script is definatley not the way to go :P
  9. thanks for doing that angel stick to topic is good
  10. nice im not sure if i will sell crimecity-mafia.com its pretty popular and makes good income pm a price
  11. ha because this happen to me before its either your wrong of he has a dodgy code
  12. nice work kyle :) #respect
  13. nope your.all wrong its either your includes/connections.php is wrong or session_start(); is missing from home.php can i see your home.php and register please
  14. dude go to includes/updates and open update_daily.php and change.code tp.run to xxx the add this cron curl http:// game url here /includes/updates/update_daily.php?code_to_run=xxx game requires cron to work but uses js to update time
  15. always think easy instead of hard and always be confident don't let comments put you off just take them as advice or something to improve on here's a site that will teach alot codeacademy.com i iwsh you the best ;)
  16. thanks guys mail me if your in need of mods/logins/ layouts etc i also use jquery for effects
  17. thanks for comments so far btw im making custom layouts/logins for between 10-30 pounds contact me and im making mods two price depends on what you want coded
  18. I just finished a new layout any opinions would be create [ATTACH=CONFIG]1268[/ATTACH]
  19. The problem here is that you have a bad checking method for posting also you need to escape user data thats being posted using mysql_real_escape_string()
  20. its done like this   $loadtime = date('i')+1; if($ir['energy'] >= $ir['max_energy']) { echo "full"; } else { if($ir['donatordays']) { if($loadtime > '50') { echo (60-$loadtime); } else if($loadtime > '40') { echo (50-$loadtime); } else if($loadtime > '30') { echo (40-$loadtime); } else if($loadtime > '20') { echo (30-$loadtime); } else if($loadtime > '10') { echo (20-$loadtime); } else if($loadtime > '00') { echo (10-$loadtime); } } else { if($loadtime > '45') { echo (60-$loadtime); } else if($loadtime > '30') { echo (45-$loadtime); } else if($loadtime > '15') { echo (30-$loadtime); } else if($loadtime > '00') { echo (15-$loadtime); } } echo "m:".(60-date('s'))."s";
  21. Its say's login into your account to be automatically entered were will this happen
  22. jcvenom

    WHMCS Licenses

    are you like ok ye? because i pm you liked 5 times about hostfire.info im telling u know why is the domain down could i just get domain info so i can take over payments
  23. again haha i do know mccodes mods was out before the mcc market i was a user there when cronus owned it but when i said replica i meant the way mccodemods.com looks compared to mwg forum looks quit the same so i couldnt care less about the site but god work though atleast you had something to do
  24. i use neq3premium.com very fast and reliable fast support there is always someone on chat or i can host you on hostfire.info
×
×
  • Create New...