hamster01
Members-
Posts
1,108 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by hamster01
-
Re: donator day market for v2 free Effort? Just replace crystals in dreamweaver, wow thats hard :|
-
Re: Good Hosts? Thats what i mean :| Rephrase the words "shared hosting".
-
Re: Good Hosts? Okay. I guess your shared hosting client base isnt that big yet?
-
Re: Good Hosts? Mambug, How does your shared hosting work? Stand alone (If one fails all goes), or do you have backup?
-
Re: Guess the next poster I'm not DeathStar :roll: *hangs mousy by tail* Mousy :oops:
-
Re: Trouble with installation. Installed apache?
-
Re: Phpsessid No. use it liek this: $pass = $_POST['pass']; $safe_pass = strip_tags($pass); or its used liek this: echo strip_tags($pass); cant remember
-
Re: Opinions Needed! :lol:
-
Re: (Free) Contra Game :) I'm to lazy to write a function right now XD
-
Re: Make Money from Your Site with these tips ! thats how i have it already mdshare :LoL: I dont like advertising for these following reasons: Yes you get 10k hits more on your game. But how many are there and just make an account to see. THey never return. YOu just end up deleting 1k accounts a month...
-
Re: Guess the next poster Good! Mousy to be next..
-
Re: Phpsessid strip_tags() things l;ike that
-
Re: Phpsessid can happen anywhere.
-
Re: (Free) Contra Game can add more stuff ;)
-
Re: (Free) Contra Game try this: <?php /*----------------------------------------------------- -- Contra By [url]http://freegoodgames.net[/url] -- Converted to work with MCCodes By Latino Heat -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print "<h3/>Games<h3/>"; if (!$_GET){ $geti = mysql_query("SELECT * FROM games ORDER BY played"); echo "<table><tr><th>Name</th><th>Played</th><th></th></tr>"; while($get = mysql_fetch_array($geti)){ echo "<tr><td>[b]".$get['gamename']."<b/></td><td>".$get['played']."</td><td>[url='?game={$get[']Play[/url]</td></tr>";} echo "</table>"; } if ($_GET['game'] == "Contra"){ mysql_query("UPDATE games SET played=played+1 WHERE gamename=$gamename'); echo "<center><embed src=http://freegoodgames.net/swf/contra.swf type='application/x-shockwave-flash' width='720' height='480'></embed> [url='index.php']> Back[/url]</center>";} $h->endpage(); ?> Insert this to your db. -- -- Table structure for table `games` -- CREATE TABLE `games` ( `gamename` varchar(255) NOT NULL default 'No Name', `played` int(11) NOT NULL default '0' ) ENGINE=MyISAM ; INSERT INTO `games` VALUES('Contra', 0); -- -------------------------------------------------------- Not tested yet! Hope that helps :)
-
V1.1/V1 Does anyone no where the bugs are ?
hamster01 replied to SoulOfDeath's topic in General Discussion
Re: V1.1/V1 Does anyone no where the bugs are ? Refreshing attack bug: at top of attack.php after menuerea() $lastmove = $_SESSION['lastmove']; if ($lastmove=$_GET['nextstep']){ die("Cheater!"); } find in attack.php mysql_query("UPDATE users SET hp=hp-$damage WHER userid=$_GET['id']", $c); add above: $_SESSION['lastmove'] = $_GET['nextstep']; Should do it! -------------------------------------------------- For not able to attack when 0 hp: if ($ir['hp'] == 0){ die("You have zero health"); } --------------------------------------- Tell me if it works -
Re: Phpsessid It could be used for alor of things. If you have ff: C:\Documents and Settings\Username\cookies You should see all your cookies :)
-
Re: Phpsessid Well, if it was an sql injection it would give an sql error, as that is the main purpose why hackers do injections. php manual of that cprelogin=no: source: http://www.spacecoasthomes.net/phpinfo.htm
-
Re: Counting (nr game) 1093 Tittlemouse is addicted XD
-
Re: Reset ?|?|?|? you mean longway lol, :lol: Anything that takes more than 5mins in a db is hard :|
-
Re: (FREE) Pac Man Game Dont say that, The criticism master is gonna speech you :lol:
-
Re: Proxy Deny Script[free] use this then: <?php session_start(); $ip = $_SERVER['REMOTE_ADDR']; echo "[url='http://www.dnsstuff.com/tools/whois.ch?ip=$ip']Check ip[/url]"; ?> thats the old way
-
Re: Proxy Deny Script[free] Those are all Privax's Proxies
-
Re: Reset ?|?|?|? Thats the hard way :\
-
Re: Good Hosts? small typos yes. I have never used a script without checking for typos, others should learn. I type without double checking code, Yes.