alex
2008-07-13 17:51:40 UTC
$sql = "select Password from user where EmailAddress='" . $_REQUEST['EmailAddress'] . "'";
mysql_query($sql);
... etc ...
When I pointed out that this code is vulnerable to SQL Injection, the coder said "prove it!"... Well, I went and tried it on the test website but it appears that PHP has some sort of builtin protection... The characters get automatically escaped.. Where is this documented?
Thanks