"ak", "alabama"=>"al", "arkansas"=>"ar", "arizona"=>"az", "california"=>"ca", "colorado"=>"co", "connecticut"=>"ct", "delaware"=>"de", "district-of-columbia"=>"dc", "florida"=>"fl", "georgia"=>"ga", "hawaii"=>"hi", "iowa"=>"ia", "idaho"=>"id", "illinois"=>"il", "indiana"=>"in", "kansas"=>"ks", "kentucky"=>"ky", "louisiana"=>"la", "massachusetts"=>"ma", "maryland"=>"md", "maine"=>"me", "michigan"=>"mi", "minnesota"=>"mn", "missouri"=>"mo", "mississippi"=>"ms", "montana"=>"mt", "nebraska"=>"ne", "new-hampshire"=>"nh", "new-jersey"=>"nj", "new-mexico"=>"nm", "nevada"=>"nv", "new-york"=>"ny", "north-carolina"=>"nc", "north-dakota"=>"nd", "ohio"=>"oh", "oklahoma"=>"ok", "oregon"=>"or", "pennsylvania"=>"pa", "rhode-island"=>"ri", "south-carolina"=>"sc", "south-dakota"=>"sd", "tennessee"=>"tn", "texas"=>"tx", "utah"=>"ut", "virginia"=>"va", "vermont"=>"vt", "washington"=>"wa", "wisconsin"=>"wi", "west-virginia"=>"wv", "wyoming"=>"wy"); $Filename=basename($_SERVER["REQUEST_URI"]); $State=substr($Filename, 0, strpos($Filename, ".")); if (!$StateAbbr=@$aStates2Code[$State]) exit; //404 Not Found... $StateAbbr=strtoupper($StateAbbr); //Office define('Debug', ($IP=$_SERVER["REMOTE_ADDR"])=='188.123.234.175' //офис || $IP=='209.62.110.178' //Gastropoda too! || @$_GET["dev"]); //Including index.html as a php-script as now it has some ip2geo logic //Otherwise you can just read and send it include_once('index.php'); ?>