D Dan New member Sep 17, 2009 #1 If I have the following code in a php file: $sql = mysql_query("SELECT * FROM users WHERE id='".$_GET['id']."'"); Then what examples of sql attacks would be able to be performed? I'm trying to understand sql attacks so need to know the basics.
If I have the following code in a php file: $sql = mysql_query("SELECT * FROM users WHERE id='".$_GET['id']."'"); Then what examples of sql attacks would be able to be performed? I'm trying to understand sql attacks so need to know the basics.