
Haunted Dawg
Members-
Posts
2,933 -
Joined
-
Last visited
Never -
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by Haunted Dawg
-
Re: Funny things To Google Type: Master Hit : I'm feeling lucky Type: h4XX0r Hit : I'm feeling lucky
-
Re: Guess the next poster Nope.. Yubi next
-
Re: Strange thing!!! Please explain more. If you add <form blah> <input type="button" value="Button 1"> </form> <form blah> <input type="button" value="Button 2> </form> It will add onto a new line. Of course in other hand's you can go by doing it like this: <form action="#" method="post"> <input type="button" onClick="window.change=url.to.new.page;"> <input type="button" onClick="window.change=url.to.othe.page;"> </form> If that does not help. Please try re explaining your problem and maybe post a example.
-
Re: [mccodes]Updated Education Nice contribution BL.. Do you remmember me? :P
-
Re: help...need to lower EXP And that is not for this engine.
-
Re: Help with DB Class. Either coderstryke or nyna.. -.- But yet alone that is still good performance in my eye's.
-
Re: [v1/v2] Redirect Before Login (tested) Not everyone have unlimited. And no such thing as unlimited on a hosting account. Why? 1.- A dedicated server has there own space. Normaly 80GB - 1TB 2.- A Datacenter still users there space. Normal 80GB - 99PB 3.- If a host is selling unlimited on space then there is 2 reason's for that. 1.- There are not many active people on there server. 2.- They are wanting money so they give unlimited hosting but 2 reason's follow. 1.- They can be good. 2.- They can be bad. 1.- These bad one's like to run away with your money. If you have been in the gaming industry as long as i have 4 year's. You will understand my point of view ;)
-
Re: [v1/v2] Redirect Before Login (tested) Then i would suggest using mine since it is less space on the server. Nice try tho but there are better way's at doing thing's and i am sure you will learn them some day. :)
-
Re: [v1/v2] Redirect Before Login (tested) Not to be rude here. But could you not just replace header("location: loggedin.php"); to echo 'Redirecting...'; @header('Redirect: 1; loggedin.php'); And that's php function for redirection ;) No offence intended in this post.
-
Re: Help with DB Class. And to those who said it will be slow? i can shove a finger in your face for that ;). A normal game is not going to run 1000 querie's per second. Yet alone here are my result's. That is with running the query to select multiple row's from the database ;). That look's good enough to me. And with running SELECT * FROM i get this: It start's putting time onto the page load after 4500 query's.. Pretty impresive in my eye's.
-
Re: help...need to lower EXP $expgain = rand($qe/2.5, $qe/0.5); Try that
-
Re: Help with DB Class. Why need to use a different engine. I want mine, thing is you people do not understand that except for coderstryke. And i have managed to do what i want i have now fixed it to the way i want it. Thank's to the example coderstryke provided above.
-
Re: Help with DB Class. If you think they will tear apart my idea. Funny thing that with in my first post i solved some one's problem eh?
-
Re: Simple register edit You see... I was not trying to flame there so there is one wrong ;)
-
Re: Simple register edit Maybe because he is a n00b himself?
-
Re: Count Users Clicks Why use javascript when you can use a session without worrying if the user has javascript turned off?
-
Re: Help with DB Class. Yet none of the 'beginner's won't know how to fix it.
-
Re: [mccode]Multi alert $exception_list = array(1,2,3); $select_multis = mysql_query("SELECT userid FROM users WHERE lastip='".$IP."' AND lastip_login='".$IP."' AND lastip_signup='".$IP."'") or die(mysql_error()); if(mysql_num_rows($select_multis) > 1) { $soc = mysql_fetch_assoc($select_multis); if( !in_array($soc['userid'], $exception_list) ) { session_start(); if($_SESSION['detected_multi'] != 1) { event_add(1,"ID <a href=\"viewuser.php?u=".$ir['userid']."\">".$ir['username']."</a> has another account check it out."); $_SESSION['detected_multi'] = 1; } } }
-
Re: Help with DB Class. Yeah.. explain why it should be in the beginer's section either?
-
Re: Help with DB Class. I see where your getting at. So said pieces will be: $x[0] .= $secure_code; $x[1] .= $blah; Some what like that?
-
Re: Help with DB Class. I do not want to use a engine created by some one else and take's me about 2 week's to get used to it. Rather stick with this one as i created it and am used to all the function's. Or either go direct with mysql_query(""); and secure the input's above. I would rather also like to stay away from sprintf() since so many people are using it now a day's and rumours going around is that it is not as secure as people say it is. Directly from php.net website itself i think. In a way my function perform's as sprintf. But knowing that i can add more check's to my function the hole time to me that seem's safer. You might think i am stupid but i am not. For example. $sql = sprintf('UPDATE `users` SET `username` = \'%d\' WHERE `userid`= %s', $_POST['username'], $ir['userid']); Yes we can make that secure. But how secure? Of course we can add MRES & htmlentities to username and etc. But what if my name for example is: %_Kyle_%, %death_row% Trust me i have seen name's like that. And some where on this forum i saw that some one stated with announcement mod using sprintf and when he used % an error occured. Atleast with mine i can alway's change something around. Knowing what to do. Knowing i wont mess it up. ETC. But i suppose if no one is going to fix that code up ill go post it up on phpfreaks forum and await a faster response on how to fix it than rather people redirecting me to different class engine's.
-
Re: Event add problem Why would you want to send the event to your self? That sound's pathetic.. -.-
-
Re: Event add problem I really do not want to help you but i like to help so here try this. event_add(abs(@intval($_POST['user'])), '<font color="red">You have recieved a warning for the reason '.$_POST['reason'].'. If you continue your way\'s further action will be taken. Your game name staff.');
-
Re: [mccodes v2] Advanced Voting Thank's. :)
-
Re: Help with DB Class. Luke. *gasp* at mccode v2.. pfft no thank you hehe. My code as of yet i do not know how fast it is nor how slow it is. I will try and speed it up once i get everything working so i can test it all once i get it all working. I was also thinking about doing something to the sort of: $my->dbQuery('UPDATE `users` SET `username` = [+n] WHERE `userid` = [+n]', array($my->dbClean($username),$my->dbClean($userid))); And again.. my dbClean function also check's wether it is a number or a string. That work's perfectly fine tho. All i want to do is keep my own function but get it working. I think preg_replace will work. but i do not know how to check for thing's. I do not know the REGEX to use. I saw something like this: preg_replace("`^([+n])$`ims', $replacement, $query); But i am not sure if this work's or not. Any idea's?