
Haunted Dawg
Members-
Posts
2,933 -
Joined
-
Last visited
Never -
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by Haunted Dawg
-
Re: [mccodes] Quote Mod exactly my point to zero. But was just wondering.
-
Re: [mccodes] Quote Mod Please go look at professional's programming. Maybe wow.. nyna use's sprintf big woopie doo! i do not care about her -.- I have seen some good programming. Ever tried programming python? i guess youll never know.
-
Re: [mccode v2] Crystal Smuggling No. http://www.php.net/sprintf
-
Re: [mccodes] Quote Mod Get lost with sprintf :). mysql_query("UPDATE users SET quote='".$q."' WHERE userid=".$ir['userid']); Why need more when it is already being secured by mysql_real_escape_string aka mres
-
Re: [mccodes] Quote Mod Luke if you were using the ".$val." way why did you not do that with $q? as in: mysql_query("UPDATE `users` SET `quote` = '" . $q . "' WHERE `userid` = " . $ir['userid']);
-
Re: [mccodes] Quote Mod I had to quote this. Never really noticed this topic. But iso. that query wont error out.
-
Re: Query Problem... When it say's that your account may be broken you need the user's email. Your header is calling out for a email every page load. So just add to your query: u.email,
-
Re: How to use sprintf? Like i said luke. Go look at mine & zero's arguement's on how he used to say "Spacing is useless" but is it useless to him now? NO!
-
Re: Help!! Mccodes Lvl hack You should not use mres because people on this forum get moody altho i still use it and do not care.
-
Re: *special* McCodes v3 BETA Release 2 Thing's. ILLEGAL! And: Coldblooded is half owner of mccode's to. So and i heard that mccode's v3 will be out very soon and guess what? It's going to be copyrighed. So if you going to giving that piece of shit code out. Just watch out ey.
-
Re: How to use sprintf? But karlos. Just remmember who recommended spaced out coding.
-
Re: [Any Mccodes] Mailbox UPDATE! Sorry my quoting was a mistake there and i will re-quote. Zebra striping tables is not a new idea ZA :P that i know but the exact colours.. come on who on CE would pick the exact same colours... when a CE member just stole the css n copied my site... im not blaming you crazy just seems weird how you would pick the exact same colours I saw those color's way before i made kc. So how can you come up with those color's for mccode's when i saw them on a different site already eh?
-
Re: How to use sprintf? Floy, i am one that got zero-affect and other's to start using tab spacing. If you go look at our arguement's he alway's looked at my coding and said "why space it out if it's uselss" but go look at his coding now. It's all spaced out. But ok. What i am trying to say here is for a simple sql query. No need.
-
Re: Help!! Mccodes Lvl hack $_POST['newname'] = str_replace("'","",$_POST['newname']);
-
Re: [Any Mccodes] Mailbox UPDATE! I saw those color's way before i made kc. So how can you come up with those color's for mccode's when i saw them on a different site already eh? Zebra striping tables is not a new idea ZA :P that i know but the exact colours.. come on who on CE would pick the exact same colours... when a CE member just stole the css n copied my site... im not blaming you crazy just seems weird how you would pick the exact same colours
-
Re: How to use sprintf? What do you mean "less space". Instead of running 1 extra function you are declaring and assigning 2 additional variables.. Being less space in your file. Why clutter up with sprintf. Ok i know alot of you reduce it. But i have seen some that go like this for example: $row = sprintf("SELECT itmid, invid, blah, sa, gaa, vaa, see, tree, whats, the, use FROM blah WHERE blah=%u", $variable); $db->query($row); Now you can reduce that to: mysql_query("SELECT itmid,invid,blah,sa,gaa,vaa,see,tree,whats,the,use FROM blah WHERE blah=".abs(@intval($variable)));
-
Re: Table + CSS problem table.bg { background-image: url(""); } td.bg { background-image: url(""); }
-
Re: How to use sprintf? And i see no need to use sprintf. $username = htmlentities(mysql_real_escape_string(trim($_REQUEST['username']))); $userid = abs(@intval($_REQUEST['userid'])); mysql_query("UPDATE users SET username='".$username."', userid=".$userid." WHERE userid=".$ir['userid']); See there. $username is secured & $userid and less space.
-
Re: Happy New Year Happy new year. Sorry a bit late. Got a bit to much ... last night haha. hang over.
-
Re: [showcase] NextDimension Just because that url does not look friendly. I will not visit the site. Maybe consider getting it's own domain and post back.
-
Re: Query Optimization This is what i have now. $is = mysql_query("SELECT exp,username,level,userid,diamondbank, maxwill,will,diamonds,money,hp,maxhp, energy,maxenergy,force_logout,busts,bails lastip,job,brave,maxbrave,new_announcements, user_level,gender,daysold,signedup,gang, daysingang,course,cdays,jobrank,donatordays, email,display_pic,bankmoney,steps_left lastip_login,lastip_signup,crimexp FROM users WHERE userid=".$userid) or die(mysql_error());
-
Re: New Game. Blow your mind's away. This game should be released by mid january.
-
Re: New Game. Blow your mind's away. New Update's! 1.- Gang script has been completly re programmed. Efficient. New look. New everything. 2.- If user does not vote or read game rule's. A little notice is now shown at the top. 3.- If the user is not a donator a little image saying "Become Respected Today" image will be appearing at the top. This can be turned on/off using ajax :). 4.- Flash chat is now integrated and purchased. So yes it is legal to use for my site. 5.- Ajax chatroom is now integrated. My shoutbox was early released to ajax and on my new game it will not be displayed at the top of every page. But in a chatroom file. Altho member's will be able to decide where they want it. 6.- MD5 will no longer be available on my game. But instead my own created little script to encrypt password's with a salt. This way when user's request a there old password the system can decrypt it and such. This system is way more secure than you think. It work's similar to protect directories on cpanel. Meaning if you put in kyle as a password and it come's up with #"$%"#. Next time it will be different. Update's still to come! 1.- Secret Question + Answer. I am sure you all know how this work's. If not. At signup the user can put in a secret question + answer. This way it mean's more security for your game. Answer will be encrypted also. 2.- New lottery modification. 3.- New Gym modification. 4.- Shakedown's to be completed. I have alot more thing's but as i have said. this game will be unique and i will not post those unique idea's up. I just post this to show to everyone this game is a GO! and not a NO NO!. Thank's for your time for reading.
-
Re: [mccodes v2] Player Report just do global_func.php :wink: Or that.
-
Re: [mccodes v2] Player Report It secures what ever part they are using.. Add this to your globals.php: function clean($string) { $var = htmlentities(mysql_real_escape_string(trim($string))); return $var; } I am sure there one has more but i just put that little bit there.