Jump to content
MakeWebGames

POG1

Members
  • Posts

    1,419
  • Joined

  • Last visited

Everything posted by POG1

  1. Re: [mccodes V2] my verry first log in page   That is not needed :p
  2. Re: [mccodes V2] my verry first log in page this login page is static, why does it need to be php? it would be good enough as a html file.
  3. Re: Take A Look !!!!!!!!!!!!!!!!!!!!!!!!!!!!1 it may be easy for you to write but it's much slower for everyone else to understand it.
  4. Re: GRPG Exploits - Help needed there is next to no protection with GRPG, it's not really worth it.
  5. Re: Take A Look !!!!!!!!!!!!!!!!!!!!!!!!!!!!1 its a modified version of the same game engine as this.. http://streetmafia.co.uk/index.php
  6. Re: Houses Lvls Maxed   float = decimal
  7. Re: Mccodes sql injection   if (($_GET) || ($_POST)) { $_GET = ""; $_POST = ""; } This will solve all your problems, though it will create you a few more! Why use stuff like that like Nyna said its not injection proof. and yeah why just not go through your files and Secure them!. if you understand that code you would know not to use it...
  8. Re: [PC version of MC-Codes] - Online Crime MMORPG i think you should have it laid out like an mc codes game instead of loads of windows. Also, it would be good to have a database online to connect to..
  9. Re: [PC version of MC-Codes] - Online Crime MMORPG is it made in VB?
  10. POG1

    Apache

    Re: Apache     thanks. worked a treat :)
  11. Re: Vote Mod? For speed -> code directly into voting page For ease -> use a voting add,remove and credit system, like the mod killah made.
  12. POG1

    Apache

    Re: Apache   If i copy and paste that i get an "Internal Server Error" I haven't got a clue when it comes to apache.
  13. POG1

    Apache

    Re: Apache none of them worked. The code i posted did work but it wouldn't get images or includes from an extra folder..
  14. Re: Another problem need help with   I don't think that wont work.. If you look at the in function is needs a list of values separated with commas. Your example will look like this.. IN('61,62,63,64') Wouldn't the apostrophes treat it as a string and not an array?
  15. Re: change names... crystals, will, brave, ect to change the currency just edit the money_formatter function...
  16. Re: Mccodes sql injection   if (($_GET) || ($_POST)) { $_GET = ""; $_POST = ""; } This will solve all your problems, though it will create you a few more! haha yeah. It will secure all get and post data injections
  17. Re: [sHOWCASE]Riotte City You posted this link not so long ago, why post again? Also, you need to be unique in your design and not "copy"...   www.roguevampires.org ;)
  18. POG1

    Apache

    I am making a website and i have tried to use apache to create SEO friendly urls (so like domain,com/about) and i have read a few tutorials but have had little luck. Basically i have a single index file and the contents of the pages are included from another folder, i dunno where i am going wrong but it's not working as i'd hoped. Here is the code i have managed to "bodge" together and it's not displaying images as well as not displaying content. RewriteEngine On RewriteCond %{REQUEST_URI} !^/about/.* RewriteCond %{REQUEST_URI} !^/index/.* RewriteRule ^index.php(/.*)$ /index.php?page=$1 [L]   Can someone please help me :)
  19. Re: Simple MySQL optimization WHERE ((bankmoney >= 0) AND (fedjail <= 0) AND (last_login >= (UNIX_TIMESTAMP() - (3 * 86400)))) I was on about that. To take all the brackets in this case wouldn't be a good idea, because of how it would be read. If you think about "BODMAS" the outcomes with or without the brackets would be different.
  20. Re: Simple MySQL optimization That is used for names (i think). phpmyadmin uses it with the table names so i guess it is required.
  21. Re: Images when equipping an item. if($equip[$ir['equip_primary']]['itmpic']) { print $itmpic = ""; } else { print "No Item Image"; } Replace all that with this.. echo ($equip[$ir['equip_primary']]['itmpic']) ? '[img=itmpics/'.$id['itmpic'].']' : 'No item image'; It should work and does the same job :)
  22. Re: Simple MySQL optimization It's so much easier to understand without unnecessary brackets.
  23. Re: Images when equipping an item. $equip[$ir['equip_primary']]['itmpic']
  24. Re: [Mccodes v2] Voting System ($15)   Well this Moron can't read.[quote author=killah   Ay? I was being positive and u call me a moron..
  25. Re: House Picture   i insert it to index , and it write me this :     if your doing it that way just do something like this..   echo '[img=images/houses/'.$ir['hID'].']';   If you were to have different file extensions and names the best idea would be an array
×
×
  • Create New...