function inject_check($str){
$tmp=eregi(‘select|insert|update|delete|’|/*|*|../|./|union|into|load_file|outfile’, $str); // 进行过滤
if($tmp){
echo “输入非法注入内容!”;
exit();
}else{
return $str;
}
}
function inject_check($str){
$tmp=eregi(‘select|insert|update|delete|’|/*|*|../|./|union|into|load_file|outfile’, $str); // 进行过滤
if($tmp){
echo “输入非法注入内容!”;
exit();
}else{
return $str;
}
}
0 条评论
沙发空缺中,还不快抢~