Talk:Validation

From Hashphp.org
Jump to: navigation, search

Instead of 'AND user_id = 5 --', make it 'OR 1=1 --', I think this demonstrates the problem a little better by defeating any existing filters you have put in the query. TML 08:08, 28 July 2011 (PDT)

Makes sense to me, Fixed it up. As a side note, I'm going to reverse the order of the two parameters in question to further highlight the problem. Caffinated 12:50, 28 July 2011 (PDT)