Jump to content
MakeWebGames

Zero-Affect

Members
  • Posts

    3,713
  • Joined

  • Last visited

    Never

Everything posted by Zero-Affect

  1. Nein, ich bin nicht
  2. I noticed it but it only says drop everyone else, Afew people have said that to me lately im surprised it's taken this long for people to notice. It isn't a mistake im just saying were all noobs but you lot will drop i won't
  3. That would stop him/her from taking a screenshot?
  4. Danny nice mod with afew minor flaws $del = sprintf("DELETE FROM votes WHERE userid > 0"); why? it's for even a predefined variable and it's 0 so why add the filter and not use it, You do need to research SprintF() seriously because if you keep looking at what people on here think it is you'll end up with code no one will touch. There is no point in filtering nothing... echo sprintf("<th>%s</th>", $pic); echo sprintf("<th>%s</th>", $r['Name']); echo sprintf("<th>%s</th>", $reward); echo sprintf("<th>%s</a></th>", $votelink); and ironically you didn't use it where it would of went perfectly... $query2 = $db->query("SELECT * FROM votes2 WHERE Voted=".$r['ID']." AND Userid=$userid"); please think about these things, and this is to everyone not just Danny.
  5. this could be done in no files, simply don't do it... lol I seem to have seen this before somewhere just can't place where... Reminds me of Advanced Voting script - same sql and similar files...
  6. and im here to put a damper on the conversation X( Just kidding, any chance in a screenshot or demo of it working, rather than me having to load the code just to see if i like it. Normally helps :thumbup:
  7. ^told ya   global $menuhide; if(!$menuhide) { $h->menuarea(); }
  8. It's possible just depends on how you do it. Authenticate.php there's your hint;) think about it...
  9. Try something valid like maybe a entirely new Forum with added secure BBcode or something like that, Something people will use..
  10. $_POST['newpic']=str_replace('\\\'',''', $_POST['newpic']); does basically so theres a MRES and that in display picture change... lol also easier way if($ir['gender'] == "Male") { $g="Female"; } else { $g="Male"; } // change to--- $g = ($ir['gender'] == 'Male') ? 'Female' : 'Male' ;   To actually get this script upto standards it would take awhile...
  11. The movie was good but i don't have a XBOX so...
  12. Good point Danny i actually own a game and am not very proud of this but you can own a house called Pluto... Mainly this is due to people having bad creativity but i have seen it on many many games and it just makes no sense.
  13. i seem to remember having this error when i first started messing with MC it's a 0 in a grabbed column in the database i believe.
  14. i was just going to say that switch global $ir, $db; with global $ir, $db,$h; in the sex change function
  15. lol @ this I actually did this lately on my website using SHA512 due to a article by a MWG staff member, which im sure is where this was inspired from. SALT is a good idea but 150 char SALT + max 32 char password now that's 182 chars (MAX) into a SHA512 hash there's gotta be a issue there, also i assumed salt was only added to disallow rainbow chart compares SALT = 123 PASS = abc SALT+PASS = 123abc encrypted into SHA512 = 7b6ad79b346fb6951275343948e13c1b4ebca82a5452a6c5d15684377f096ca927506a23a847e6e046061399631b16fc2820c8b0e02d0ea87aa5a203a77c2a7e adding a 150 char SALT seems idiotic... SHA512 takes approx 45655.965 milliseconds (45.655964999999995 seconds) with 1000 KB of random data to generate. i'd say random 50 chars (everyone's the same) as the salt would work just fine, i mean if your website/game is secure you have nothing to worry about.
  16. There is actually possible ways of doing it with functions like this but still depends on implementing them in the right places, i use functions to make scripts more secure on my website, so quick way still no but using functions to speed up the time to code yes. Depends on your ability to remember stuff normally, i would just say bin MC and get it over with.
  17. Now that is funny 'expert for free' yeah that's really going to happen, Unless you become a expert yourself it won't happen. I mean considering most Experts would avoid free work because it's bad for reputation - "I'm a professional but i do free work for some people and charge others 100 bucks a hour" yeah right goodbye pal;
  18. Sounds fun actually where do i signup? lol but on a serious note i get what your saying if you have a low member base then there's no point in a counter but if you have a high member base then it's always a good thing to show off.
  19. I would say these are common knowledge but considering some of the games i've seen on the net i'd say this is very informative lol
  20. i think you want to be hiding MainMenu and allowing Smenu to be viewed it should be in Globals.php
  21. COUNT as always worked for me so sorry if it doesn't on some of yours ^exactly
  22. i don't know if this would be a good place to add this but it may help some people. with numeric $_POST or $_GET inputs basically when you know the only thing going to be submitted is numeric then why not simply restrict to numeric... // post example $_POST['example'] = (isset($_POST['example']) AND ctype_digit($_POST['example'])) ? $_POST['example'] : '' ; // get example $_GET['example'] = (isset($_GET['example']) AND ctype_digit($_GET['example'])) ? $_GET['example'] : '' ;   Same theory with alpha+numeric or restricted char inputs.
  23. $numb = $db->fetch_row($db->query("SELECT COUNT(`userid`) AS `mem_count` FROM `users`")); echo 'Members: '.number_format($numb['mem_count']); $online = $db->fetch_row($db->query("SELECT COUNT(`userid`) AS `on_count` FROM `users` WHERE `laston` > (unix_timestamp()-15*60) ")); echo 'There are '.number_format($online['on_count']).' users online.'; just a little edit hope you don't mind. :S
  24. i did dislike the fact people could change their names all the time was annoying.
×
×
  • Create New...