Jump to content
MakeWebGames

rockwood

Members
  • Posts

    461
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by rockwood

  1. rockwood

    Securing $_POST

    bind your values best way
  2. rockwood

    Securing $_POST

    yes, you have a valid point and i am agree with your comments. as per my view a change is required in old db class something like new update. it is not very hard to do
  3. rockwood

    Securing $_POST

    are you sure about this ?? please Compare both db classes
  4. rockwood

    Securing $_POST

    1. The MCC db class not looking enough as per my view so i added as suggestion. 2. for use have to recode every query and lots of changes. and i tested this is working 100% perfectly
  5. rockwood

    Securing $_POST

    if (!empty($_POST['name'])) { $_POST['name'] = filter_var($_POST['name'], FILTER_SANITIZE_STRING); }else{echo "Error";} i am sanitizing
  6. rockwood

    Securing $_POST

    isset and empty both are different
  7. rockwood

    Securing $_POST

    HTML5 having inbuilt validation
  8. rockwood

    Securing $_POST

    Mccodes db class is old (also not escaping values properly by Old MCC) so i think it is bit better mysql.class.txt
  9. Good Luck Grant
  10. sorry, i got answer
  11. keep it on guyz good job
  12. rockwood

    Mafia Creed

    good worked and looking clean Best of luck MNG
  13. me too facing this problem what should i do for remove this error???
  14. KyleMassacre's " !=" or you can use of "<>" bcz both having same mean not equal to $q=mysql_query("SELECT im.*, i.*, u.*,it.* FROM itemmarket im LEFT JOIN items i ON im.imITEM=i.itmid LEFT JOIN users u ON u.userid=im.imADDER AND i.itemtypeid <> "item id goes here");
  15. i am leaving this thread.
  16. Dominion you should check posts chain, i tried to improve his code and he told me escaping is wrong on $_GET variable the question from his side, not from mine and i am trying to explain him about xss attacks and what is wrong in it ??
  17. my point was only safety nothing else friend ,that was just an example for validating you can use preg_match too and many more so please make it safe bcz get is non hide thing
  18. if you dont mind why ??? bcz i wanna gain my knowledge so may be it help me ? - - - Updated - - -   am wrong on this point HD ?
  19. please see the Alan and !Angel Post on this page "http://makewebgames.io/showthread.php/43753-Boolean-Given?p=294236#post294236" epically $_GET value validation by ctype_digit()
  20. your escape functions are doing properly sanitize and validate ??? and what are you doing for xss ? as per my view it is very important part of programming and i am not expert in these but little bit aware about these problem as per my view it is doesn't matter that you handle values by db or hard code so please try to escape your values properly, this is my point.
  21. Thanks it is awesome
  22. i am not good in english but as my understanding you have to make database in your mysql
  23. i am saying about sprintf
×
×
  • Create New...