Prevent SQL Injection in Php (OWASP Tutorial)
Saturday, May 3rd, 2008Today's post will include 3 different languages: html, php and sql. There is a mysql database, a php backend and an html form to try out different injections, as well as a sample injection and vulnerable/patched code. We'll start off by making a sample table in mysql: [sourcecode language='sql'] CREATE TABLE `example`.`users` ( `id` ...