i get this script
this scrip put before action get data $post,$get,$cookie this will be filter all data will be come in pst cokies and get
the problem i don't know where must i put this script..what file name in vbulletin file ? any one can explain coz this good for blocking sql injection from hackers
PHP:
<?php
if(!get_magic_quotes_gpc()){
$_GET = array_map('mysql_real_escape_string', $_GET);
$_POST = array_map('mysql_real_escape_string', $_POST);
$_COOKIE = array_map('mysql_real_escape_string', $_COOKIE);
}else{
$_GET = array_map('stripslashes', $_GET);
$_POST = array_map('stripslashes', $_POST);
$_COOKIE = array_map('stripslashes', $_COOKIE);
$_GET = array_map('mysql_real_escape_string', $_GET);
$_POST = array_map('mysql_real_escape_string', $_POST);
$_COOKIE = array_map('mysql_real_escape_string', $_COOKIE);
}
?>
this scrip put before action get data $post,$get,$cookie this will be filter all data will be come in pst cokies and get
the problem i don't know where must i put this script..what file name in vbulletin file ? any one can explain coz this good for blocking sql injection from hackers