Archive for the ‘PHP’ Category.
20th August 2000, 12:21 pm
PHP Weather will now calculate the relative
humidity for you. It does this by using the temperature, and dew-point.
This also means thay you ought to be using at least version 1.17. I know
the version-number has been incrementing pretty fast lately, but as you
already know this is open source software,
so user requests will be implemented as soon as I get the time.
And don’t worry, your old scripts will still works with this release, so there’s
really no excuse for not upgrading :-)
18th August 2000, 05:13 pm
I’ve just updated PHP Weather again. There was a bug
in the code that parsed the air-pressure. I now know that the pressure can
be written both as A2991
and as Q1013
. The first form is 29.91 inHg
and the second is 1013 hPa.
I thought that the pressure was always measured in hPa, so all the
altimeter_*
numbers were wrong if the pressure was reported in inHg.
PHP Weather now deals correctly with both forms.
14th August 2000, 09:25 pm
The version-number in you copy of PHP Weather
should now say 1.11
. You can find this number in the top of phpweather.inc
.
This time Stefan Wiesendanger has
speeded up the parsing by replacing the large switch- and case-statements
with a couple of arrays. This also makes it easy to translate PHP Weather
into other languages. If you do so, then please mail
me, so that I can organize the translations.
9th August 2000, 04:48 pm
The speed of which PHP Weather fetched the METARs
was quite poor. But then Enrico Lodolo
suggested that I used HTTP instead of FTP to connect to the server.
So, go get the new version. You could also try my page, which should load
significantly faster now.
7th August 2000, 04:32 pm

I’ve just updated my tutorial on PHP. I tried
to explain some parts better, and made a proper ending.