So i created a script you could put into your header or something :For a automatic sql injection protection :DPHP Code:function protection($object){
if($_POST){
htmlspecialchars($object);
mysql_real_escape_string($object);
stripslashes($object);
strip_tags($object);
return $object; } }
function sql($sql){
if($_GET){
if($_GET > 1){
mysql_real_escape_string($sql);
return $sql; } }
}
{$_POST=protection($_POST); }
{$_GET=sql($_GET); }
but it won't work for $_GET or $_POST


Reply With Quote![[SQL]Automatic sql Injection protection](http://ragezone.com/hyper728.png)


