$ref = $_SERVER["HTTP_REFERER"]; if(ereg("bookmark.fc2.com",$ref)){ header("Location: http://www.geocities.jp/no_no_bookmark/index2.html"); exit; } ?>