News for hackers. Stuff that matters.
Re:SQL Injection through HTTP Headers by antihero on Wednesday April 04, 2012 @04:25AM (#3796664)
I'd take that one step further and use an ORM like Doctrine, because otherwise doing trivial stuff is completely annoying. If you don't use an ORM package you quickly start writing your own ORM anyway.
Re:SQL Injection through HTTP Headers by elchief on Wednesday April 04, 2012 @01:37PM (#3798738)
Agreed, but even some ORMs (like Yii's ActiveRecord) don't validate the field name in the WHERE part in certain functions.