Jump to content
MakeWebGames

sniko

Members
  • Posts

    2,210
  • Joined

  • Last visited

  • Days Won

    47

Everything posted by sniko

  1. sniko

    Securing $_POST

    Add in the column names, so you won't have to heavily edit the script if you alter the table INSERT INTO hoes (`id`,`user`,`column`,`column`,`column`,`column`,`column`,`column`) VALUES('', $userid, '{$value}', '{$value}', 0, 1, '{$value}', '{$value}')
  2. My bank isn't connected to my PayPal account, would a gift card be eligible for trade?
  3. Have a look at this. Also, I'd offer both.
  4. You use exit(); then endpage();, why?
  5. What do the levels dictate?
  6. This system could be enhanced by; Not using inline styles Defining each bet limit as a constant/variable Removing the unneeded echo commands Actually validating the bet as a numerical value, then saying it's needed to be numerical Seperating the SQL from the database commands Removing the useless HTML from the top of the file Replace deprecated tags (<b></b>) As its 50/50, the chance isn't 50/50, see below Adopting the header class, to finish the page off, see below   However, a nice addition :) http://codepad.org/QF0S4fUU $chance = mt_rand(1,2);   $h->endpage();
  7. This could be improved by; Not using inline styles Not using deprecated tags Referencing to a database for rewards, not hard coded Allow staff to insert rewards with criteria that match their desires Allow staff to alter rewards Possibly allow staff to change the currency, instead of credits, so the system isn't designed just for the minority Currencys are fetched from the users table; energy, brave, level, exp, money (any column the staff decides)       Above all, you could mention that there are words in queries that need changing to suit your desires. For example, line 82. However, a nice contribution :)
  8. How many are in your team? How long have they been administrating/supporting servers for?   Define 'super-fast'   Also, nothing is 'unlimited', it'll be more professional to adopt the term 'unmetered'.
  9. AFAIK; nothing. From what I have gathered, Jedigunz is wanting some more features.
  10. Regards to categorizing the upgrades, you could prepend the words "small, medium, large" onto the upgrade. This would be a somewhat 'quick fix' to a desired feature.
  11. sniko

    Scaling your Game

      Define "small" to you. 70$ a month sounds reasonable, considering I don't know your definition of "small". However, as Kyle says, you can easily find something less than that.
  12. Or reformat Magictallguys', and just use his logic.
  13. Hi Jedigunz. Apologies for the delayed response, as stated in another thread (about 5 minutes ago) I've been pretty busy lately. May I suggest you add me on Skype, so we can discuss further? (harry.sniko) -sniko
  14. Apologies for the late reply, I've been working a lot, and I haven't had much time to browse MakeWebGames. I shall read your other thread, and take it into consideration, possibly pushing an upgrade to the marketplace soon. - sniko
  15. sniko

    Little problem

    If you're using a free host, I doubt they'll allow alteration to php.ini, and perhaps even public file uploads. I've no idea of the environment your system is running, so it's purely a shot in the dark. One way in which you get pass this problem, is to harness the power of Imgur API.
  16. sniko

    Little problem

    upload-max-filesize   #Upload max filesize adjustments ini_set('upload_max_filesize', 2097152); #2MB
  17. ....You'd only have a % succession rate, as you're not checking it the other way around $u1 = 1; $u2 = 2; $sql = "SELECT * FROM `friends` WHERE (`u1_id` = ". $u1 ." AND `u2_id` = ". $u2 ." ) OR (`u1_id` = ". $u2 ." AND `u2_id` = ". $u1 ." ) LIMIT 1"; $query = mysqli_query($sql); (Change the values of the variables.)
  18. Free resources by using CSS3 nth child. Selecting all columns from users, when 5 or so columns are actually being used, is bad practice. (Guests example)   Nice addition to the jail, though. :)
  19. I've updated the source from 1.1.5 to 1.2. A few minor edits, and a fresh install on localserver and it worked wonderfully for me.   Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1 PHP Version 5.3.5   Link to 1.2 - - - Updated - - -   Thank you, Zettieee
  20. Someone proposes a service, states a price he's willing to give his/her time to do it for you. - Gets flamed. Nice going, community.
  21. I'm unsure, however, one of the codes he paste binned had the raven copyright on it, if that helps answer your question.
  22. ....still the wrong meme. Those are tears of happiness. Browse reddit ;) you'll soon discover. The img bbcode tag was being exploited. I'm writing up a document of safeguards for this type of exploit, and it should be published when the next article (when I check back on OP site) is out.
  23. I'll check up in OPs site in a few days, and write a blog post regarding what we did.
  24. You're using the wrong meme. Guest was correct.
  25. I know Guest, I know! I did spend a lot of time looking into who did it, as I like to know the kind of person I'm dealing with; mind games :p (Although I failed on that part) Anyway, issue is hopefully resolved, and I'll be checking up on OPs site during the week, just to ensure.
×
×
  • Create New...