-
Posts
551 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Everything posted by Kieran-R
-
I'm using it like this: <a href="#" onClick="javascript: update(');"> I'll give yours a try danny. But what I don't understand is why would it work for small parts of text, but not a much larger HTML area.
-
Ive decided that I am going to sell my main MCCodes game, Mafia Nation. Mafia Nation is MCCodes v.2, and has been modified quite hevilly. There are many custom mods in the game. Some created by me, some not. A comet chat license is also included. Game URL: http://mafianation.net Username: test Pass: test911 So what do you get when you buy this? Well you get the whole game. MafiaNation.net, MafiaNation.org, MCCodes V.2 License, Comet Chat license, Many purchasable mods license, and users. (<< This can be negotiated) The profit I earn from this game ATM is very limited because atm, there isnt alot of active players. The reason for that? I have kind of gave up on the game... If there is anything else you want to know about this, then please mail me. A price for this is not set. Contact me if you are interested in buying. http://mafianation.net Thanks
-
I have a small javascript aplication, using jQuery. However, im having a problem. Heres my code: function update() { $("#update").hide(); } When I call this function with lets say : <div id="update">bla bla bla</div>, then it will clear no problem. But what Im trying to do is clear a much larger piece of HTML. It has 2 tables, and some PHP during it. Ive surrounded all of the part of which I want to disapear with <div id="update">....</div>, yet when the function is called, none of the information in those tags are disapering. If somoene could help me, then that would be wonderful! Thanks
-
Im looking for a decent ajax, and javascript coder who knows what there doing, Im just completely clueless when it comes to this stuff... Im willing to pay good depending on what the job is. And I have quite alot of work. Jobs are just simple things like making some mysql querys, and displaying some text without reloading the page, and some more a bit more advanced. Send me a mail if you are interested. Thanks
-
So, if you could secure good, then why would you show me an example that isnt even yours? If you also even had the slightest bit of knowledge with PHP you would have known that that code wasnt secured, and most of it was a pile fo shit. Whether you were a "money hungy basterd" or not, that doesnt explain why you sent me a code that clearly was a pile of shit? Just kind of proovs that you cant secure shit...
-
Are you bladewolfs multi or something? Every thread I see you posting in its to back up bladewolf... Strange
-
Got it working. Thanks again!
-
Thanks for the help guys. Ill look into that curl.
-
Hello. Im working on a voting site, and its going all good. However, ive came to adding incentive voting, and im stuck :( What I dont get is how do I send data to another file (scipt url) without actually taking the user to that page? The way I want to do it through a POST form. But is there a way to post data to another file, without taking the user to that file? Thanks!
-
Hey. I'm looking for a ingame tempate for GRPG. However, you don't have to be a designer to do this job. Just have a good knowledge of CSS. Here are some examples of what I'm looking for: http://mafiadeath.com http://mafiacrime.com I guess you see what kind o template it is I'm looking for. I would be looking for ingame header.php, fully working with GRPG, heading css (very small piece of css), 2 highlighting css (for tables), and that's it. I have money here. And my budget will vary. Please contact me asap! I will pay good! Thanks
-
LOL bladewolf. You honestly think I would go to the time and effor to edit a screenshot? Especially that there are code tags in the screenshot. I'm pretty sure thatthe source HTML for that ain't just ... There are mail logs also. So your just making your self look even more pathetic. And blade maker, how can you honestly think he's trusted. After seeing that screenshot? Or are you one of those people who believe the screenys edited? LOL
-
http://74.54.43.197/screeny.png
-
Joshua I can secure better than what bladewolf can for sure.
-
LOL bladewolf. Now your going to lie your way out of it? I asked you for an example of you securing, and you replied with this:
-
A while ago when I was looking for security, he offered me some for like $35 I think... I asked for an example, and this is what I got: <?php $housequery=1; $atkpage=1; include "globals.php"; $userid=$_SESSION['userid']; if (eregi("[^0-9]", $_GET[iD])) { print"Click... Click.. BOOM"; mysql_query("INSERT INTO fedjail VALUES('',".$ir['userid'].",999999,1,'Attempted URL Injection in a file.')"); mysql_query("UPDATE users SET fedjail=1 WHERE userid=$userid"); exit; } /*+++++++++++++++++++++++++++++++++++++*/ /* SQL Protection Start */ /*+++++++++++++++++++++++++++++++++++++*/ //check if incomingData is not empty and of the expected length function checkIncomingData($idata, $minsize, $maxsize) { if ( strlen($idata)<$minsize or strlen($idata)>$maxsize ) { return false; } else { return true; } } //make sure that nothing bad can be entered by the user (-->sql injection attack) function cleanIncomingData($idata) { $cleaned = trim($idata); $cleaned = mysql_real_escape_string($cleaned); return $cleaned; } /*+++++++++++++++++++++++++++++++++++++*/ /* SQL Protection Ended */ /*+++++++++++++++++++++++++++++++++++++*/ if($ir['fedjail']) { print "Error - while in fedjail you cannot access this page "; $h->endpage(); exit; } print "<h3>Bank</h3>"; if($ir['bankmoney']>-1) { switch($_GET['action']) { case "deposit": deposit(); break; case "withdraw": withdraw(); break; default: index(); break; } } else { if(isset($_GET['buy'])) { if($ir['money']>49999) { print "Congratulations, you bought a bank account for \$50,000! [url='bank.php']Start using my account[/url]"; $db->query("UPDATE users SET money=money-50000,bankmoney=0 WHERE userid=$userid"); } else { print "You do not have enough money to open an account. [url='explore.php']Back to town...[/url]"; } } else { print "Open a bank account today, just \$50,000! [url='bank.php?buy']> Yes, sign me up![/url]"; } } function index() { global $db, $ir,$c,$userid,$h; print "\n[b]You currently have \${$ir['bankmoney']} in the bank.[/b] At the end of each day, your bank balance will go up by 2% for donators for balances up to 200 Trillion. And you have to be active within the last 4 days. <table width='75%' cellspacing=1 class='table'> <tr> <td width='50%'>[b]Deposit Money[/b] It will cost you 1% of the money you deposit if the deposit is $1,000,000 or more. <form action='bank.php?action=deposit' method='post'> Amount: <input type='text' name='deposit' value='{$ir['money']}' /> <input type='submit' value='Deposit' /></form></td> <td> [b]Withdraw Money[/b] There is no fee on withdrawals.<form action='bank.php?action=withdraw' method='post'> Amount: <input type='text' name='withdraw' value='{$ir['bankmoney']}' /> <input type='submit' value='Withdraw' /></form></td> </tr> </table>"; } function deposit() { global $db,$ir,$c,$userid,$h; $_POST['deposit']=$_POST['deposit']; if($_POST['deposit'] < 0) { print"Click... Click.. BOOM"; mysql_query("INSERT INTO fedjail VALUES('',".$ir['userid'].",5000,1,'Exploiting a game bug.')"); mysql_query("UPDATE users SET fedjail=1 WHERE userid=$userid"); exit; } if($_POST['deposit'] > $ir['money']) { print "You do not have enough money to deposit this amount."; } else { $fee=ceil($_POST['deposit']*1/100); if($fee < 10001) { $fee=0; } $gain=$_POST['deposit'] - $fee; $ir['bankmoney']+=$gain; $db->query("UPDATE users SET bankmoney=bankmoney+$gain, money=money-{$_POST['deposit']} where userid=$userid"); print "You hand over \${$_POST['deposit']} to be deposited, after the fee is taken $ $fee, \$$gain is added to your account. [b]You now have \${$ir['bankmoney']} in the bank.[/b] [url='bank.php']> Back[/url]"; } } function withdraw() { global $db,$ir,$c,$userid,$h; $_POST['withdraw']=$_POST['withdraw']; if($_POST['withdraw'] < 0) { print"Click... Click.. BOOM"; mysql_query("INSERT INTO fedjail VALUES('',".$ir['userid'].",5000,1,'Exploiting a game bug.')"); mysql_query("UPDATE users SET fedjail=1 WHERE userid=$userid"); exit; } if($_POST['withdraw'] > $ir['bankmoney']) { print "You do not have enough banked money to withdraw this amount."; } else { $gain=$_POST['withdraw']; $left=($ir['bankmoney']-$gain); $db->query("UPDATE users SET bankmoney=bankmoney-$gain, money=money+$gain where userid=$userid"); print "You ask to withdraw $gain, the banking lady grudgingly hands it over. [b]You now have \$$left in the bank.[/b] [url='bank.php']> Back[/url]"; } } $h->endpage(); ?> Quite clearly putting a useless function at the top of a file WILL NOT secure your game...
-
Well, considering you can find this exact mod on here for free, then i really dont think that it would cost $25 to pay someone to secure the free one. This mod is worth $5 max.
-
darn... Why the hell is tehre 11,000 players who have never even logged in before?
-
OK. Heres what ive come up with. But now when it is echo'd, nothing is appearing: $chances=eval($chance['crimePERCFORM']); echo $chances; crimePERCFORM Data: (72+(($ir['level']/5)*10)); And as I said, nothing is printing out. Is there something im not doing right?
-
Noo..... The SUM is in the database... I want the total of that sum to be displayed. I dont want the sum in the PHP code
-
For what I'm using it for, there is no user input involved in any of the values I will be using. So I'm sure I will be fine ;)
-
Thanks Dominon. Never used eval before, but I'll do some reasearch on it.. Cheers
-
No. The maths is in a field of the database, and I want to print out the total value. Not the sum... Just doing (example) echo $r['blah']; prints out the SUM. Not the total value.
-
Hey Im having a little problem. Im trying to print something from the database. As its pretty hard to explain, Ill give an example; DB Data: $r['level']*4+5 I want it to print out the value. NOT $r['level']*4+5. Is there a solution, or a way that someone could tell me to overcome this problem? Thanks.
-
You can't just slap a HTML code anywhere in a script and expect it to be the place were it's supposed to be. Put the code which raheed (sorry if spelt wrong) told you instead o the code which was originaly in your script...