In running the demo file on the new control panel, I get this curious =
error messages, but still get the weather reports, any ideas? On the =
second one, I did not include the Spanish include file. It is almost =
like a closing is missing, the same files work perfectly on the Apache =
server I have installed on my personal machine.
A sample METAR-report
The report below is the latest from Aalborg, Denmark (this is where I =
live). The raw METAR looks this way:
EKYT 142150Z 27008KT 9999 FEW018 17/15 Q1017 NOSIG
Not exactly a pretty sight? Well by using
PHP Weather
you could also present the information like this:
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 849
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 850
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 851
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 852
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 858
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 859
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 860
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 861
110 minutes ago, at 21:50 UTC, the wind was blowing at a speed of 4.1 =
meters per second (9.2 miles per hour) from West in Aalborg, Denmark. =
The temperature
was 17 degrees Celsius (63 degrees Fahrenheit), and the pressure was =
1,017 hPa (30.03 inHg). The relative humidity was 93.5%. There were a =
few clouds at
a height of 549 meter (1800 feet). The visibility was >11.3 kilometers =
(>7 miles).
Here is the same piece of text with the current weather in Honolulu, =
Hawaii. This time the information is presented in Spanish. First comes =
the raw METAR:
PHNL 142153Z 00000KT 10SM FEW019 27/24 A2997 RMK AO2 RAE49 SLP149 P0001 =
T02670244
and then the pretty-printed output:
Warning: Failed opening 'locale_es.inc' for inclusion =
(include_path=3D'') in /home/rrnet/public_html/demo.php3 on line 100
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 849
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 850
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 851
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 852
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 858
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 859
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 860
Warning: Invalid argument(s) passed to pow() in =
/home/rrnet/public_html/phpweather.inc on line 861
107 minutes ago, at 21:53 UTC, the wind was calm in Honolulu, Hawaii. =
The temperature was 27 degrees Celsius (81 degrees Fahrenheit), and the =
pressure was
1,015 hPa (29.97 inHg). The relative humidity was 92.6%. There were a =
few clouds at a height of 579 meter (1900 feet). The visibility was 16.1 =
kilometers
(10.0 miles).
=20
Ray Saldana III
RRIS
http://www.rottenray.net
http://www.rottenray.com
|