PHP Weather Home Page

Demonstration

This is the extended demo. Here you'll be able to play with PHP Weathers ability to show the weather in several different languages.

This piece of text is made just like the one on the frontpage. The only difference is, that this one shows the current weather in Honolulu, Hawaii, and that the information is presented in Spanish. First comes the raw METAR:

and then the Spanish pretty-printed output:

Sorry! There is no data available for Honolulu, Hawaii.

The only thing I changed between the two pieces of code was the identifier of the weather station, and the include-file with the strings used by PHP Weather. The identifier for Aalborg, Denmark is EKYT and the one for Honolulu, Hawaii is PHNL.

Try it out for yourself - choose a city and a language from the lists and you'll see the current weather for the city you selected:

Sorry! There is no data available for Thule A. B., Greenland.

The METAR for Thule A. B., Greenland, presented in English, was:


PHP Weather Logo SourceForge Logo