RE: [PHP] Re: Weather Scripts
| From: | Rasmus Lerdorf | Date: | Wed, 20 Feb 2002 06:52:17 +0000 |
| Subject: | RE: [PHP] Re: Weather Scripts | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-85505@lists.php.net to get a copy of this message | ||
> Sorry, I forgot to mention that I would be willing to get the
> information off either METAR or any other source that provides the raw
> data for the forecasts. I am in australia and the Bureau of Meteorology
> provides annoymous ftp access to a raw data text file for this
> information as well.
Then it should be a relatively simple procedure to set up a cron job that
ftp's this raw data every now and then and either munges it directly into
a database or perhaps write a PHP script that reads the raw file and
displays it nicely. It's just a little bit of text manipulation.
Probably an hour or two for any local UNIX hack to come up with exactly
what you need.
-Rasmus