'code1', 'domain2' => 'code2' ); $URL = $_SERVER['HTTP_HOST']; $gcode = $Codes[$URL]; ?>