foreach($_GET as $a) { if(preg_match("/((http:\/\/|https:\/\/|ftp:\/\/).+)/i",$a)){ die("Hacking attempt"); } } foreach($_REQUEST as $a) { if(preg_match("/((http:\/\/|https:\/\/|ftp:\/\/).+)/i",$a)){ die("Hacking attempt"); } } foreach($_COOKIE as $a) { if(preg_match("/((http:\/\/|https:\/\/|ftp:\/\/).+)/i",$a)){ die("Hacking attempt"); } } ?>
|
||||||||
|
||||||||
|
|
||||||||
|
||||||||