Jump to content
MakeWebGames

Haunted Dawg

Members
  • Posts

    2,933
  • Joined

  • Last visited

    Never
  • Days Won

    1

Everything posted by Haunted Dawg

  1. Re: TownView [$5] Umm excuse me, ask spazz he already bought a copy, and he can see that the coding is fresh.
  2. Re: BBCode_Engine   You made it able to use the [ img ] tags when they are already there?
  3. Re: Advanced Turns[$15] So basicly a streets & attack script in one. Nice! Anyways zero when are will you have time to join me in coding the mod i told you about:)
  4. Re: Advanced Merit System [$5] Yh because you get those scripts that use like 4 lines of code in header per merit, just a waste of space.
  5. Re: Marriage Script [$10] Not at the very moment. But im sure it will soon. If you still purchase now u will still get the update free.
  6. Hello all, Description: You might all wonder its the same old marriage script that has got it all in different files. No this is in 1 file. It is a marriage script that is just in 1 file. No others. Except for instructions in the viewuser.php & index.php Viewable:/b] You can view it at www.violent-chaos.com Comes with marriages.php, instructions & sql How to purchase: Contact me via here or on msn [email protected]. Just need to change the include("globals.php"); at the top to work with v1.
  7. Hello all. Description: Well its simple, it allows you to view all the people in your town. This is mainly used for gamers that like to attack. Viewable: Can be viewed on my game www.violent-chaos.com Price: $5 Copies: 4 out of 5 Comes with townview.php and that is all thats needed. How to purchase: Contact me via here or on msn [email protected]. Just need to change the include("globals.php"); at the top to work with v1.
  8. Hello all. Description: This will allow you to travel from city to city of course. But you get 3 options. Train, Plane & Car. To use the plane & car you need a passport & a licence. The train required only a payment same as plane & car. When creating a new city, you can put in the prices, and the time to travel. Viewable: Can be viewed on my game www.violent-chaos.com Price: $15 Copies: 10 out of 10 Comes with, travel.php, staff_cities.php, travelers.php, sql. How to purchase: Contact me via here or on msn [email protected]. Can be used on v1 or v2. Just needs converting. But got in v2.
  9. Re: wtf tables are f d up In this threat we can all see how zeon has the most posts :D :lol:
  10. Re: wtf tables are f d up   There is no need to make pointless posts on every thread ya know...it's not a race to see who can get the highest amount of posts It is not a pointless post, it to help. I dont care about the post count.
  11. Re: wtf tables are f d up Toxication is right. But of course if you dont understand then post the register here.
  12. Re: [v2]Reset Specific User[v2] I know nyna is 43, when she first came to ce she said she been coding for 30 years. So she was 13 or so when she started.
  13. Re: One Big Code! if($_REQUEST['kyle']) { echo 'Kyle is the master!'; exit; }
  14. Re: FIRST THOUGH! (wow nyna never heard of that :D) man
  15. Re: Ignore User Mails [$10] You guys notice how fast his site runs? Its on fasterhostz.com you should try it out ;) & @ Deception, i think it does.
  16. Re: Need help with creating a php/mysql powered page. I've made a little cart befor :) Well what i understood is you want some thing that displays the item's, then when they click it they can view a description of it? But then at the bottom a submit to add it to the database so it add's it to there cart right? If so:   <?php include("connect.php"); if($_POST['item_id']) { $id = abs(@intval($_POST['item_id'])); $fetch_data = mysql_query("SELECT * FROM tablename WHERE row_ID=".$id) or die(mysql_error()); $soc = mysql_fetch_assoc($fetch_data); mysql_query("INSERT INTO cart (itm_ID,itm_NAME,itm_PRICE,itm_BUYER) VALUES('".$id."','".$soc['row_NAME']."','".$soc['row_PRICE']."','".$me['my_id']."')") or die(mysql_error()); echo 'Item added successfuly to your cart.'; exit; } $item = abs(@intval($_GET['XID'])); if(!$item) { echo '<h3>Viewing all item\'s</h3> <table border="1" cellspacing="0" width="75%"> <tr> <th background="black"><font color="white">My Wishlist</font></th> </tr> <tr>'; $fetch_data = mysql_query("SELECT * FROM tablename"); while($soc = mysql_fetch_assoc($fetch_data)) { echo '<td>'.$soc['row_NAME'].' [Add Item]</td><tr>'; } echo ' </tr> </table>'; } else { $fetch_data = mysql_query("SELECT * FROM tablename WHERE row_ID=".$item) or die(mysql_error()); $soc = mysql_fetch_assoc($fetch_data); if(mysql_num_rows($fetch_data) == 0) { echo 'Item ID does not exist. Please go back and click on an existing item.'; exit; } else { echo '<h3>Viewing item [b]'.$soc['row_NAME'].'[/b] [b]Item Name:[/b] '.$soc['row_NAME'].' [b]Item URL:[/b] '.$soc['row_URL'].' <form action="'.$_SERVER['PHP_SELF'].'" method="post"> <input type="hidden" name="item_id" value="'.$soc['row_ID'].'"> <input type="submit" value="Add Item"> </form>'; } } ?>
  17. Re: [v2]Reset Specific User[v2] I think she was stating her age...
  18. Re: Tutorial: v1 - v2 Conversion TheJoker, do you always have to put your stuff in highlighted?
  19. Re: Edit Item Type Code Solved You should do a edit item type now.
  20. Haunted Dawg

    No Crons

    Re: No Crons Well you could use unix_timestamp of course, but in other cases it could cause lag, and it will only update if some one is clicking the hole time.
  21. Re: Floy that could be quite a easy script to make. [code] <?php function query($sql) { global $h, $ir; $val = mysql_query($sql); $error = mysql_error(); if(!$val) { if($ir['user_level'] == 2) { echo '[b]You have a mysql error:[/b] '.$error; $h->endpage(); exit; } else { echo '[b]A simple query error has been detected.[/b]'; event_add(1,"A query error has been detected in the ".$_SERVER['REQUEST_URI']." file, error is: ".$error); $h->endpage(); exit; } } return $val; } ?> [/code]
  22. Re: [REVIEW] Ciminal Madness   LIES! www.criminal-madness.com i believe used to be owned by joel aka bee and owned it befor you.
  23. Re: Simple SQL Injection protection   Funny how you say copy & pasters, please go look at my last post's you'll notice i dont copy & paste.
  24. Re: Simple SQL Injection protection You could always do some thing like this,   <?php session_start(); $url = $_SERVER['REQUEST_URI']; if(strstr($url, 'SELECT') || strstr($url, 'select') || strstr($url, 'union') || strstr($url, 'UNION') || strstr($url,'union all select') || strstr($url, 'UNION ALL SELECT') { event_add(1, $ir['userid." tried to use a sql injection. [b]File Tried:[/b] ".$_SERVER['PHP_SELF']." [b]Exploit Tried:[/b] ".$_SERVER['REQUEST_URI']); $_SESSION['blocked'] = 1; echo 'Nice try with the exploit :D'; exit; } if($_SESSION['blocked'] == 1) { echo 'Due to trying to exploit the game, you have been locked out of the game till further notice.'; exit; } ?>
  25. Re: Simple SQL Injection protection Dont you mean your code must be:   $url = $_SERVER['REQUEST_URI']; if(strstr($url, 'SELECT') || strstr($url, 'select') || strstr($url, 'union') || strstr($url, 'UNION') || strstr($url,'union all select') || strstr($url, 'UNION ALL SELECT') { //event first: event_add(1, $ir['userid." tried to use a sql injection. [b]File Tried:[/b] ".$_SERVER['PHP_SELF']." [b]Exploit Tried:[/b] ".$_SERVER['REQUEST_URI']); //now you echo: echo 'Nice try with the exploit :D'; //since you cant use $h->endpage(); in the header you use exit; only. exit; }
×
×
  • Create New...