Adrian World Design
  • Services
    • Website Consulting
    • Startup Consulting
    • Zend Development
  • Portfolio
    • My Framework
  • Knowledge
    • Web Standards
    • PHP bare-bones
    • Zend Framework
    • Zend Framework 2
    • Git - Github
    • Search Engine Optimization
    • Web Hosting
    • Linux
    • Microsoft Windows
    • Web Browsers
    • Mobile Devices
  • About
    • Business
    • Professionally
    • Personally
  • Contact
    • Contact Form
    • Phone
    • Email
    • Messaging

Knowledge Base Overview

List of countries

Knowledge ⇒ Web Standards ⇒ General information ⇒ List of countries
Tweet
Share on Tumblr

Created: Sep 12, 2011, 4:07:46 AM CDTLast updated: Feb 22, 2012, 7:47:21 AM CDT

If you are looking for a list with all the countries or territories in the world sorted by continent then you will appreciate this page. Especially if you need them in your PHP or Zend Framework project as an array. It will actually work in other frameworks or CMS like WordPress, Joomla or Drupal.

The information and links here have either a download ready list with countries or you can get some information for how to create your own country lists in your project yourself. For developer or designer this might be a more interesting solution or way to get an array with countries in PHP.

Download Lists

First of the easy download version. I created a website where you can select and download your own list with countries/territories and continents or regions in a few different ways (including different languages). You can either copy/paste the lists or download a file in a few different formats. Following is the link to this website

  • Countries List Website

The lists with countries and territories in that page are created with the Zend Framework and you can actually use the framework in your project for free. Just see the following.

Create with Zend Framework

If you are a web developer or web designer and looking for some programmatic way to integrate a country list on the fly with PHP into a form you might want to take a look at this.

The Zend Framework has a class named Zend_Locale which allows you to create your own country list. I have written two documents explaining in one how to get the list and the second how to actually sort the list by continents. Unfortunately the Zend_Locale does not have a method to do it all in once.

  • Array List with Countries
  • Sorting the Country List

For how to get the Zend Framework take a look at Zend directly.

blog comments powered by Disqus
Prev

Powered by FeedBurner Load our "Knowledge Base" feed in your RSS feeder

Follow us on Twitter
Follow us on Facebook
Follow us on LinkedIn
Follow us on Google+

All rights reserved, Adrian World Design ©2009–2022 Powered by Wejas Framework

Jump to Top