viewing paste Countries Codes Alpha-2 | PHP

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247
    public $AlphaTwo = array('af'=>'Afghanistan',
                'ax'=>'Aland Islands',
                'al'=>'Albania',
                'dz'=>'Algeria',
                'as'=>'American Samoa',
                'ad'=>'Andorra',
                'ao'=>'Angola',
                'ai'=>'Anguilla',
                'aq'=>'Antarctica',
                'ag'=>'Antigua and Barbuda',
                'ar'=>'Argentina',
                'am'=>'Armenia',
                'aw'=>'Aruba',
                'au'=>'Australia',
                'at'=>'Austria',
                'az'=>'Azerbaijan',
                'bs'=>'Bahamas',
                'bh'=>'Bahrain',
                'bd'=>'Bangladesh',
                'bb'=>'Barbados',
                'by'=>'Belarus',
                'be'=>'Belgium',
                'bz'=>'Belize',
                'bj'=>'Benin',
                'bm'=>'Bermuda',
                'bt'=>'Bhutan',
                'bo'=>'Bolivia',
                'ba'=>'Bosnia and Herzegovina',
                'bw'=>'Botswana',
                'bv'=>'Bouvet Island',
                'br'=>'Brazil',
                'vg'=>'British Virgin Islands',
                'io'=>'British Indian Ocean Territory',
                'bn'=>'Brunei Darussalam',
                'bg'=>'Bulgaria',
                'bf'=>'Burkina Faso',
                'bi'=>'Burundi',
                'kh'=>'Cambodia',
                'cm'=>'Cameroon',
                'ca'=>'Canada',
                'cv'=>'Cape Verde',
                'ky'=>'Cayman Islands',
                'cf'=>'Central African Republic',
                'td'=>'Chad',
                'cl'=>'Chile',
                'cn'=>'China',
                'hk'=>'Hong Kong, SA',
                'mo'=>'Macao, SA',
                'cx'=>'Christmas Island',
                'cc'=>'Cocos (Keeling) Islands',
                'co'=>'Colombia',
                'km'=>'Comoros',
                'cg'=>'Congo (Brazzaville)',
                'cd'=>'Congo, (Kinshasa)',
                'ck'=>'Cook Islands',
                'cr'=>'Costa Rica',
                'ci'=>'Côte d\'Ivoire',
                'hr'=>'Croatia',
                'cu'=>'Cuba',
                'cy'=>'Cyprus',
                'cz'=>'Czech Republic',
                'dk'=>'Denmark',
                'dj'=>'Djibouti',
                'dm'=>'Dominica',
                'do'=>'Dominican Republic',
                'ec'=>'Ecuador',
                'eg'=>'Egypt',
                'sv'=>'El Salvador',
                'gq'=>'Equatorial Guinea',
                'er'=>'Eritrea',
                'ee'=>'Estonia',
                'et'=>'Ethiopia',
                'fk'=>'Falkland Islands (Malvinas)',
                'fo'=>'Faroe Islands',
                'fj'=>'Fiji',
                'fi'=>'Finland',
                'fr'=>'France',
                'gf'=>'French Guiana',
                'pf'=>'French Polynesia',
                'tf'=>'French Southern Territories',
                'ga'=>'Gabon',
                'gm'=>'Gambia',
                'ge'=>'Georgia',
                'de'=>'Germany',
                'gh'=>'Ghana',
                'gi'=>'Gibraltar',
                'gr'=>'Greece',
                'gl'=>'Greenland',
                'gd'=>'Grenada',
                'gp'=>'Guadeloupe',
                'gu'=>'Guam',
                'gt'=>'Guatemala',
                'gg'=>'Guernsey',
                'gn'=>'Guinea',
                'gw'=>'Guinea-Bissau',
                'gy'=>'Guyana',
                'ht'=>'Haiti',
                'hm'=>'Heard and Mcdonald Islands',
                'va'=>'Holy See (Vatican City State)',
                'hn'=>'Honduras',
                'hu'=>'Hungary',
                'is'=>'Iceland',
                'in'=>'India',
                'id'=>'Indonesia',
                'ir'=>'Iran, Islamic Republic of',
                'iq'=>'Iraq',
                'ie'=>'Ireland',
                'im'=>'Isle of Man',
                'il'=>'Israel',
                'it'=>'Italy',
                'jm'=>'Jamaica',
                'jp'=>'Japan',
                'je'=>'Jersey',
                'jo'=>'Jordan',
                'kz'=>'Kazakhstan',
                'ke'=>'Kenya',
                'ki'=>'Kiribati',
                'kp'=>'Korea (North)',
                'kr'=>'Korea (South)',
                'kw'=>'Kuwait',
                'kg'=>'Kyrgyzstan',
                'la'=>'Lao PD   ',
                'lv'=>'Latvia',
                'lb'=>'Lebanon',
                'ls'=>'Lesotho',
                'lr'=>'Liberia',
                'ly'=>'Libya',
                'li'=>'Liechtenstein',
                'lt'=>'Lithuania',
                'lu'=>'Luxembourg',
                'mk'=>'Macedonia, Republic of',
                'mg'=>'Madagascar',
                'mw'=>'Malawi',
                'my'=>'Malaysia',
                'mv'=>'Maldives',
                'ml'=>'Mali',
                'mt'=>'Malta',
                'mh'=>'Marshall Islands',
                'mq'=>'Martinique',
                'mr'=>'Mauritania',
                'mu'=>'Mauritius',
                'yt'=>'Mayotte',
                'mx'=>'Mexico',
                'fm'=>'Micronesia, Federated States of',
                'md'=>'Moldova',
                'mc'=>'Monaco',
                'mn'=>'Mongolia',
                'me'=>'Montenegro',
                'ms'=>'Montserrat',
                'ma'=>'Morocco',
                'mz'=>'Mozambique',
                'mm'=>'Myanmar',
                'na'=>'Namibia',
                'nr'=>'Nauru',
                'np'=>'Nepal',
                'nl'=>'Netherlands',
                'an'=>'Netherlands Antilles',
                'nc'=>'New Caledonia',
                'nz'=>'New Zealand',
                'ni'=>'Nicaragua',
                'ne'=>'Niger',
                'ng'=>'Nigeria',
                'nu'=>'Niue',
                'nf'=>'Norfolk Island',
                'mp'=>'Northern Mariana Islands',
                'no'=>'Norway',
                'om'=>'Oman',
                'pk'=>'Pakistan',
                'pw'=>'Palau',
                'ps'=>'Palestinian Territory',
                'pa'=>'Panama',
                'pg'=>'Papua New Guinea',
                'py'=>'Paraguay',
                'pe'=>'Peru',
                'ph'=>'Philippines',
                'pn'=>'Pitcairn',
                'pl'=>'Poland',
                'pt'=>'Portugal',
                'pr'=>'Puerto Rico',
                'qa'=>'Qatar',
                're'=>'Réunion',
                'ro'=>'Romania',
                'ru'=>'Russian Federation',
                'rw'=>'Rwanda',
                'bl'=>'Saint-Barthélemy',
                'sh'=>'Saint Helena',
                'kn'=>'Saint Kitts and Nevis',
                'lc'=>'Saint Lucia',
                'mf'=>'Saint-Martin (French part)',
                'pm'=>'Saint Pierre and Miquelon',
                'vc'=>'Saint Vincent and Grenadines',
                'ws'=>'Samoa',
                'sm'=>'San Marino',
                'st'=>'Sao Tome and Principe',
                'sa'=>'Saudi Arabia',
                'sn'=>'Senegal',
                'rs'=>'Serbia',
                'sc'=>'Seychelles',
                'sl'=>'Sierra Leone',
                'sg'=>'Singapore',
                'sk'=>'Slovakia',
                'si'=>'Slovenia',
                'sb'=>'Solomon Islands',
                'so'=>'Somalia',
                'za'=>'South Africa',
                'gs'=>'South Georgia and the South Sandwich Islands',
                'ss'=>'South Sudan',
                'es'=>'Spain',
                'lk'=>'Sri Lanka',
                'sd'=>'Sudan',
                'sr'=>'Suriname',
                'sj'=>'Svalbard and Jan Mayen Islands',
                'sz'=>'Swaziland',
                'se'=>'Sweden',
                'ch'=>'Switzerland',
                'sy'=>'Syrian Arab Republic (Syria)',
                'tw'=>'Taiwan, Republic of China',
                'tj'=>'Tajikistan',
                'tz'=>'Tanzania, United Republic of',
                'th'=>'Thailand',
                'tl'=>'Timor-Leste',
                'tg'=>'Togo',
                'tk'=>'Tokelau',
                'to'=>'Tonga',
                'tt'=>'Trinidad and Tobago',
                'tn'=>'Tunisia',
                'tr'=>'Turkey',
                'tm'=>'Turkmenistan',
                'tc'=>'Turks and Caicos Islands',
                'tv'=>'Tuvalu',
                'ug'=>'Uganda',
                'ua'=>'Ukraine',
                'ae'=>'United Arab Emirates',
                'gb'=>'United Kingdom',
                'us'=>'United States of America',
                'um'=>'US Minor Outlying Islands',
                'uy'=>'Uruguay',
                'uz'=>'Uzbekistan',
                'vu'=>'Vanuatu',
                've'=>'Venezuela (Bolivarian Republic)',
                'vn'=>'Viet Nam',
                'vi'=>'Virgin Islands, US',
                'wf'=>'Wallis and Futuna Islands',
                'eh'=>'Western Sahara',
                'ye'=>'Yemen',
                'zm'=>'Zambia',
                'zw'=>'Zimbabwe');
Viewed 446 times, submitted by Streusel.