24) $req=substr($req,24); $req=htmlentities($req); return "eval attack $req"; } if (stripos($req,'document.write(string.fromcharcode')!==false) { if (strlen($req)>24) $req=substr($req,24); $req=htmlentities($req); return "offset string attack $req"; } //'document.write(Stringfromcharcode' // union all select - this is a common sql injection string if (stripos($req,'uni'.'on all se'.'lect')!==false) { if (strlen($req)>24) $req=substr($req,24); $req=htmlentities($req); return "sql inject attack $req"; } } return false; } } ?>