/*
|---------------------------------------------------------------
| SECURE ALL $_POST, $_GET, $_SESSION, $_REQUEST and $_COOKIE
|---------------------------------------------------------------
*/
if( preg_match( '/MICROSOFT URL CONTROL - 6.00.(88.62|81.69)/i', getenv('HTTP_USER_AGENT') ) === true ) die( '<h1>You
did wrong...</h1>' );
$methods = array( $_POST, $_GET, $_SESSION, $_REQUEST, $_COOKIE );
foreach( $methods as $method ):
if( is_array( $method ) ):
foreach( $method as $key => $val ):
$method[$key] = escapeshellcmd( stripslashes( strip_tags( htmlspecialchars( $val, ENT_QUOTES ) ) ) );
$$key = escapeshellcmd( stripslashes( strip_tags( htmlspecialchars( $val, ENT_QUOTES ) ) ) );
endforeach;
else:
$method = escapeshellcmd( stripslashes( strip_tags( htmlspecialchars( $method, ENT_QUOTES ) ) ) );
endif;
endforeach;