12.1 C
London
Sunday, October 6, 2024

PHP Country Codes with List of All Countries

- Advertisement -spot_imgspot_img
- Advertisement -spot_imgspot_img
$country_array = array(
     "AF" => "Afghanistan",
     "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",
     "BQ" => "British Antarctic Territory",
     "IO" => "British Indian Ocean Territory",
     "VG" => "British Virgin Islands",
     "BN" => "Brunei",
     "BG" => "Bulgaria",
     "BF" => "Burkina Faso",
     "BI" => "Burundi",
     "KH" => "Cambodia",
     "CM" => "Cameroon",
     "CA" => "Canada",
     "CT" => "Canton and Enderbury Islands",
     "CV" => "Cape Verde",
     "KY" => "Cayman Islands",
     "CF" => "Central African Republic",
     "TD" => "Chad",
     "CL" => "Chile",
     "CN" => "China",
     "CX" => "Christmas Island",
     "CC" => "Cocos [Keeling] Islands",
     "CO" => "Colombia",
     "KM" => "Comoros",
     "CG" => "Congo - Brazzaville",
     "CD" => "Congo - Kinshasa",
     "CK" => "Cook Islands",
     "CR" => "Costa Rica",
     "HR" => "Croatia",
     "CU" => "Cuba",
     "CY" => "Cyprus",
     "CZ" => "Czech Republic",
     "CI" => "Côte d’Ivoire",
     "DK" => "Denmark",
     "DJ" => "Djibouti",
     "DM" => "Dominica",
     "DO" => "Dominican Republic",
     "NQ" => "Dronning Maud Land",
     "DD" => "East Germany",
     "EC" => "Ecuador",
     "EG" => "Egypt",
     "SV" => "El Salvador",
     "GQ" => "Equatorial Guinea",
     "ER" => "Eritrea",
     "EE" => "Estonia",
     "ET" => "Ethiopia",
     "FK" => "Falkland Islands",
     "FO" => "Faroe Islands",
     "FJ" => "Fiji",
     "FI" => "Finland",
     "FR" => "France",
     "GF" => "French Guiana",
     "PF" => "French Polynesia",
     "TF" => "French Southern Territories",
     "FQ" => "French Southern and Antarctic 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 Island and McDonald Islands",
     "HN" => "Honduras",
     "HK" => "Hong Kong SAR China",
     "HU" => "Hungary",
     "IS" => "Iceland",
     "IN" => "India",
     "ID" => "Indonesia",
     "IR" => "Iran",
     "IQ" => "Iraq",
     "IE" => "Ireland",
     "IM" => "Isle of Man",
     "IL" => "Israel",
     "IT" => "Italy",
     "JM" => "Jamaica",
     "JP" => "Japan",
     "JE" => "Jersey",
     "JT" => "Johnston Island",
     "JO" => "Jordan",
     "KZ" => "Kazakhstan",
     "KE" => "Kenya",
     "KI" => "Kiribati",
     "KW" => "Kuwait",
     "KG" => "Kyrgyzstan",
     "LA" => "Laos",
     "LV" => "Latvia",
     "LB" => "Lebanon",
     "LS" => "Lesotho",
     "LR" => "Liberia",
     "LY" => "Libya",
     "LI" => "Liechtenstein",
     "LT" => "Lithuania",
     "LU" => "Luxembourg",
     "MO" => "Macau SAR China",
     "MK" => "Macedonia",
     "MG" => "Madagascar",
     "MW" => "Malawi",
     "MY" => "Malaysia",
     "MV" => "Maldives",
     "ML" => "Mali",
     "MT" => "Malta",
     "MH" => "Marshall Islands",
     "MQ" => "Martinique",
     "MR" => "Mauritania",
     "MU" => "Mauritius",
     "YT" => "Mayotte",
     "FX" => "Metropolitan France",
     "MX" => "Mexico",
     "FM" => "Micronesia",
     "MI" => "Midway Islands",
     "MD" => "Moldova",
     "MC" => "Monaco",
     "MN" => "Mongolia",
     "ME" => "Montenegro",
     "MS" => "Montserrat",
     "MA" => "Morocco",
     "MZ" => "Mozambique",
     "MM" => "Myanmar [Burma]",
     "NA" => "Namibia",
     "NR" => "Nauru",
     "NP" => "Nepal",
     "NL" => "Netherlands",
     "AN" => "Netherlands Antilles",
     "NT" => "Neutral Zone",
     "NC" => "New Caledonia",
     "NZ" => "New Zealand",
     "NI" => "Nicaragua",
     "NE" => "Niger",
     "NG" => "Nigeria",
     "NU" => "Niue",
     "NF" => "Norfolk Island",
     "KP" => "North Korea",
     "VD" => "North Vietnam",
     "MP" => "Northern Mariana Islands",
     "NO" => "Norway",
     "OM" => "Oman",
     "PC" => "Pacific Islands Trust Territory",
     "PK" => "Pakistan",
     "PW" => "Palau",
     "PS" => "Palestinian Territories",
     "PA" => "Panama",
     "PZ" => "Panama Canal Zone",
     "PG" => "Papua New Guinea",
     "PY" => "Paraguay",
     "YD" => "People's Democratic Republic of Yemen",
     "PE" => "Peru",
     "PH" => "Philippines",
     "PN" => "Pitcairn Islands",
     "PL" => "Poland",
     "PT" => "Portugal",
     "PR" => "Puerto Rico",
     "QA" => "Qatar",
     "RO" => "Romania",
     "RU" => "Russia",
     "RW" => "Rwanda",
     "RE" => "Réunion",
     "BL" => "Saint Barthélemy",
     "SH" => "Saint Helena",
     "KN" => "Saint Kitts and Nevis",
     "LC" => "Saint Lucia",
     "MF" => "Saint Martin",
     "PM" => "Saint Pierre and Miquelon",
     "VC" => "Saint Vincent and the Grenadines",
     "WS" => "Samoa",
     "SM" => "San Marino",
     "SA" => "Saudi Arabia",
     "SN" => "Senegal",
     "RS" => "Serbia",
     "CS" => "Serbia and Montenegro",
     "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",
     "KR" => "South Korea",
     "ES" => "Spain",
     "LK" => "Sri Lanka",
     "SD" => "Sudan",
     "SR" => "Suriname",
     "SJ" => "Svalbard and Jan Mayen",
     "SZ" => "Swaziland",
     "SE" => "Sweden",
     "CH" => "Switzerland",
     "SY" => "Syria",
     "ST" => "São Tomé and Príncipe",
     "TW" => "Taiwan",
     "TJ" => "Tajikistan",
     "TZ" => "Tanzania",
     "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",
     "UM" => "U.S. Minor Outlying Islands",
     "PU" => "U.S. Miscellaneous Pacific Islands",
     "VI" => "U.S. Virgin Islands",
     "UG" => "Uganda",
     "UA" => "Ukraine",
     "SU" => "Union of Soviet Socialist Republics",
     "AE" => "United Arab Emirates",
     "GB" => "United Kingdom",
     "US" => "United States",
     "ZZ" => "Unknown or Invalid Region",
     "UY" => "Uruguay",
     "UZ" => "Uzbekistan",
     "VU" => "Vanuatu",
     "VA" => "Vatican City",
     "VE" => "Venezuela",
     "VN" => "Vietnam",
     "WK" => "Wake Island",
     "WF" => "Wallis and Futuna",
     "EH" => "Western Sahara",
     "YE" => "Yemen",
     "ZM" => "Zambia",
     "ZW" => "Zimbabwe",
     "AX" => "Ã…land Islands",
 );

List with Names Compliant With the USPS Shipping Rate Calculator

$country_array = array(
    "Abu Dhabi (United Arab Emirates)",
    "Admiralty Islands (Papua New Guinea)",
    "Afghanistan", "Aitutaki, Cook Islands (New Zealand)",
    "Ajman (United Arab Emirates)",
    "Aland Island (Finland)",
    "Albania", "Alberta (Canada)",
    "Alderney (Channel Islands) (Great Britain and Northern Ireland)",
    "Algeria", "Alhucemas (Spain)",
    "Alofi Island (New Caledonia)",
    "Andaman Islands (India)",
    "Andorra", "Angola", "Anguilla", "Anjouan (Comoros)",
    "Annobon Island (Equatorial Guinea)",
    "Antigua (Antigua and Barbuda)",
    "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Ascension", "Astypalaia (Greece)",
    "Atafu (Western Samoa)",
    "Atiu, Cook Islands (New Zealand)",
    "Australia", "Austria", "Avarua (New Zealand)",
    "Azerbaijan", "Azores (Portugal)",
    "Bahamas", "Bahrain", "Balearic Islands (Spain)",
    "Balochistan (Pakistan)",
    "Bangladesh", "Banks Island (Vanuatu)",
    "Barbados", "Barbuda (Antigua and Barbuda)",
    "Barthelemy (Guadeloupe)",
    "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bismark Archipelago (Papua New Guinea)",
    "Bolivia", "Bonaire (Curacao)",
    "Borabora (French Polynesia)",
    "Borneo (Indonesia)",
    "Bosnia-Herzegovina", "Botswana", "Bougainville (Papua New Guinea)",
    "Bourbon (Reunion)",
    "Brazil", "British Columbia (Canada)",
    "British Guiana (Guyana)",
    "British Virgin Islands", "Brunei Darussalam", "Buka (Papua New Guinea)",
    "Bulgaria", "Burkina Faso", "Burma", "Burundi", "Caicos Islands (Turks and Caicos Islands)",
    "Cambodia", "Cameroon", "Canada", "Canary Islands (Spain)",
    "Canton Island (Kiribati)",
    "Cape Verde", "Cayman Islands", "Central African Republic", "Ceuta (Spain)",
    "Ceylon (Sri Lanka)",
    "Chad", "Chaferinas Islands (Spain)",
    "Chalki (Greece)",
    "Channel Islands (Jersey, Guernsey, Alderney, and Sark) (Great Britain and Northern Ireland)",
    "Chile", "China", "Christmas Island (Australia)",
    "Christmas Island (Kiribati)",
    "Cocos Island (Australia)",
    "Colombia", "Comoros", "Congo, Democratic Republic of the", "Congo, Republic of the", "Cook Islands (New Zealand)",
    "Corisco Island (Equatorial Guinea)",
    "Corsica (France)",
    "Costa Rica", "Cote d’Ivoire", "Crete (Greece)",
    "Croatia", "Cuba", "Cumino Island (Malta)",
    "Curacao (includes Bonaire, Saba, and Sint Eustatius)",
    "Cyjrenaica (Libya)",
    "Cyprus", "Czech Republic", "Dahomey (Benin)",
    "Damao (India)",
    "Danger Islands (New Zealand)",
    "Denmark", "Desirade Island (Guadeloupe)",
    "Diu (India)",
    "Djibouti", "Dodecanese Islands (Greece)",
    "Doha (Qatar)",
    "Dominica", "Dominican Republic", "Dubai (United Arab Emirates)",
    "East Timor (Timor-Leste)",
    "Ecuador", "Egypt", "Eire (Ireland)",
    "El Salvador", "Ellice Islands (Tuvalu)",
    "Elobey Islands (Equatorial Guinea)",
    "Enderbury Island (Kiribati)",
    "England (Great Britain and Northern Ireland)",
    "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Fakaofo (Western Samoa)",
    "Falkland Islands", "Fanning Island (Kiribati)",
    "Faroe Islands", "Fernando Po (Equatorial Guinea)",
    "Fezzan (Libya)",
    "Fiji", "Finland", "Formosa (Taiwan)",
    "France", "Frederiksted, US Virgin Islands, United States (Domestic Mail)",
    "French Guiana", "French Oceania (French Polynesia)",
    "French Polynesia", "French West Indies (Guadeloupe)",
    "French West Indies (Martinique)",
    "Friendly Islands (Tonga)",
    "Fujairah (United Arab Emirates)",
    "Futuna (Wallis and Futuna Islands)",
    "Gabon", "Gambia", "Gambier (French Polynesia)",
    "Georgia, Republic of", "Germany", "Ghana", "Gibraltar", "Gilbert Islands (Kiribati)",
    "Goa (India)",
    "Gozo Island (Malta)",
    "Grand Comoro (Comoros)",
    "Great Britain and Northern Ireland", "Greece", "Greenland", "Grenada", "Grenadines (Saint Vincent and the Grenadines)",
    "Guadeloupe", "Guatemala", "Guernsey (Channel Islands) (Great Britain and Northern Ireland)",
    "Guinea", "Guinea–Bissau", "Guyana", "Hainan Island (China)",
    "Haiti", "Hashemite Kingdom (Jordan)",
    "Hervey, Cook Islands (New Zealand)",
    "Hivaoa (French Polynesia)",
    "Holland (Netherlands)",
    "Honduras", "Hong Kong", "Huahine (French Polynesia)",
    "Huan Island (New Caledonia)",
    "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Irian Barat (Indonesia)",
    "Isle of Man (Great Britain and Northern Ireland)",
    "Isle of Pines (New Caledonia)",
    "Isle of Pines, West Indies (Cuba)",
    "Israel", "Issas (Djibouti)",
    "Italy", "Ivory Coast (Cote d’Ivoire)",
    "Jamaica", "Japan", "Jersey (Channel Islands) (Great Britain and Northern Ireland)",
    "Johore (Malaysia)",
    "Jordan", "Kalymnos (Greece)",
    "Kampuchea (Cambodia)",
    "Karpathos (Greece)",
    "Kassos (Greece)",
    "Kastellorizon (Greece)",
    "Kazakhstan", "Kedah (Malaysia)",
    "Keeling Islands (Australia)",
    "Kelantan (Malaysia)",
    "Kenya", "Kiribati", "Korea, Democratic People’s Republic of (North Korea)",
    "Korea, Republic of (South Korea)",
    "Kos (Greece)",
    "Kosovo, Republic of", "Kowloon (Hong Kong)",
    "Kuwait", "Kyrgyzstan", "Labrador (Canada)",
    "Labuan (Malaysia)",
    "Laos", "Latvia", "Lebanon", "Leipsos (Greece)",
    "Leros (Greece)",
    "Les Saints Island (Guadeloupe)",
    "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Lord Howe Island (Australia)",
    "Loyalty Islands (New Caledonia)",
    "Luxembourg", "Macao", "Macau (Macao)",
    "Macedonia, Republic of", "Madagascar", "Madeira Islands (Portugal)",
    "Malacca (Malaysia)",
    "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Manahiki (New Zealand)",
    "Manchuria (China)",
    "Manitoba (Canada)",
    "Marie Galante (Guadeloupe)",
    "Marquesas Islands (French Polynesia)",
    "Martinique", "Mauritania", "Mauritius", "Mayotte (France)",
    "Melilla (Spain)",
    "Mexico", "Miquelon (Saint Pierre and Miquelon)",
    "Moheli (Comoros)",
    "Moldova", "Monaco (France)",
    "Mongolia", "Montenegro", "Montserrat", "Moorea (French Polynesia)",
    "Morocco", "Mozambique", "Muscat (Oman)",
    "Myanmar (Burma)",
    "Namibia", "Nansil Islands (Japan)",
    "Nauru", "Negri Sembilan (Malaysia)",
    "Nepal", "Netherlands", "Netherlands Antilles (Curacao)",
    "Netherlands Antilles (Sint Maarten)",
    "Nevis (Saint Christopher and Nevis)",
    "New Britain (Papua New Guinea)",
    "New Brunswick (Canada)",
    "New Caledonia", "New Hanover (Papua New Guinea)",
    "New Hebrides (Vanuatu)",
    "New Ireland (Papua New Guinea)",
    "New South Wales (Australia)",
    "New Zealand", "Newfoundland (Canada)",
    "Nicaragua", "Niger", "Nigeria", "Nissiros (Greece)",
    "Niue (New Zealand)",
    "Norfolk Island (Australia)",
    "North Borneo (Malaysia)",
    "North Korea (Korea, Democratic People’s Republic of)",
    "Northern Ireland (Great Britain and Northern Ireland)",
    "Northwest Territory (Canada)",
    "Norway", "Nova Scotia (Canada)",
    "Nukahiva (French Polynesia)",
    "Nukunonu (Western Samoa)",
    "Ocean Island (Kiribati)",
    "Okinawa (Japan)",
    "Oman", "Ontario (Canada)",
    "Pahang (Malaysia)",
    "Pakistan", "Palmerston, Avarua (New Zealand)",
    "Panama", "Papua New Guinea", "Paraguay", "Parry, Cook Islands (New Zealand)",
    "Patmos (Greece)",
    "Pemba (Tanzania)",
    "Penang (Malaysia)",
    "Penghu Islands (Taiwan)",
    "Penon de Velez de la Gomera (Spain)",
    "Penrhyn, Tongareva (New Zealand)",
    "Perak (Malaysia)",
    "Perlis (Malaysia)",
    "Persia (Iran)",
    "Peru", "Pescadores Islands (Taiwan)",
    "Petite Terre (Guadeloupe)",
    "Philippines", "Pitcairn Island", "Poland", "Portugal", "Prince Edward Island (Canada)",
    "Pukapuka (New Zealand)",
    "Qatar", "Quebec (Canada)",
    "Queensland (Australia)",
    "Quemoy (Taiwan)",
    "Raiatea (French Polynesia)",
    "Rakaanga (New Zealand)",
    "Rapa (French Polynesia)",
    "Rarotonga, Cook Islands (New Zealand)",
    "Ras al Kaimah (United Arab Emirates)",
    "Redonda (Antigua and Barbuda)",
    "Reunion", "Rio Muni (Equatorial Guinea)",
    "Rodos (Greece)",
    "Rodrigues (Mauritius)",
    "Romania", "Russia", "Rwanda", "Saba (Curacao)",
    "Sabah (Malaysia)",
    "Saint Barthelemy (Guadeloupe)",
    "Saint Bartholomew (Guadeloupe)",
    "Saint Christopher and Nevis", "Saint Helena", "Saint Kitts (Saint Christopher and Nevis)",
    "Saint Lucia", "Saint Martin (French) (Guadeloupe)",
    "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Sainte Marie de Madagascar (Madagascar)",
    "Salvador (El Salvador)",
    "San Marino", "Santa Cruz Islands (Solomon Islands)",
    "Sao Tome and Principe", "Sarawak (Malaysia)",
    "Sark (Channel Islands) (Great Britain and Northern Ireland)",
    "Saskatchewan (Canada)",
    "Saudi Arabia", "Savage Island, Niue (New Zealand)",
    "Savaii Island (Western Samoa)",
    "Scotland (Great Britain and Northern Ireland)",
    "Seberang Perai (Malaysia)",
    "Selangor (Malaysia)",
    "Senegal", "Serbia, Republic of", "Seychelles", "Sharja (United Arab Emirates)",
    "Shikoku (Japan)",
    "Sierra Leone", "Sikkim (India)",
    "Singapore", "Sint Eustatius (Curacao)",
    "Sint Maarten (Dutch)",
    "Slovak Republic (Slovakia)",
    "Slovenia", "Society Islands (French Polynesia)",
    "Solomon Islands", "Somali Democratic Republic (Somalia)",
    "Somalia", "Somaliland (Somalia)",
    "South Africa", "South Australia (Australia)",
    "South Georgia (Falkland Islands)",
    "South Korea (Korea, Republic of)",
    "Spain", "Spitzbergen (Norway)",
    "Sri Lanka", "Sudan", "Suriname", "Suwarrow Islands (New Zealand)",
    "Swan Islands (Honduras)",
    "Swaziland", "Sweden", "Switzerland", "Symi (Greece)",
    "Syrian Arab Republic (Syria)",
    "Tahaa (French Polynesia)",
    "Tahiti (French Polynesia)",
    "Taiwan", "Tajikistan", "Tanzania", "Tasmania (Australia)",
    "Tchad (Chad)",
    "Thailand", "Thursday Island (Australia)",
    "Tibet (China)",
    "Tilos (Greece)",
    "Timor (Indonesia)",
    "Timor-Leste, Democratic Republic of", "Tobago (Trinidad and Tobago)",
    "Togo", "Tokelau (Western Samoa)",
    "Tonga", "Tongareva (New Zealand)",
    "Tori Shima (Japan)",
    "Torres Island (Vanuatu)",
    "Trans-Jordan, Hashemite Kingdom (Jordan)",
    "Transkei (South Africa)",
    "Trengganu (Malaysia)",
    "Trinidad and Tobago", "Tripolitania (Libya)",
    "Tristan da Cunha", "Trucial States (United Arab Emirates)",
    "Tuamotou (French Polynesia)",
    "Tubuai (French Polynesia)",
    "Tunisia", "Turkey", "Turkmenistan", "Turks and Caicos Islands", "Tuvalu", "Uganda", "Ukraine", "Umm al Quaiwain (United 
    Arab Emirates)",
    "Umm Said (Qatar)",
    "United Arab Emirates", "United Kingdom (Great Britain and Northern Ireland)",
    "Upolu Island (Western Samoa)",
    "Uruguay", "Uzbekistan", "Vanuatu", "Vatican City", "Venezuela", "Victoria (Australia)",
    "Vietnam", "Virgin Islands (British)",
    "Wales (Great Britain and Northern Ireland)",
    "Wallis and Futuna Islands", "Wellesley, Province (Malaysia)",
    "West New Guinea (Indonesia)",
    "Western Australia (Australia)",
    "Western Samoa", "Yemen", "Yukon Territory (Canada)",
    "Zafarani Islands (Spain)",
    "Zambia", "Zanzibar (Tanzania)",
    "Zimbabwe", 
);

Read also:- Understanding How Much Credit Score Is Good In India

- Advertisement -spot_imgspot_img
Latest news
- Advertisement -spot_img
Related news
- Advertisement -spot_img

LEAVE A REPLY

Please enter your comment!
Please enter your name here