Hi everybody,
I've just commited a rough website to CVS. The design is virtually
non-existing and even worse: PHP Weather doesn't work :-/
I've tried with both the old and the new version, and they both fail.
All they say is, that there's no data for XXXX which is clearly wrong.
I've made two directories in the root of our webspace: phpweather and
phpweather-1.x. The idea is that we'll put the new and old versions of
PHP Weather in those directories, so that we can include the right
files from there. Both versions will have to use DBM files because
it's a little difficult to store password to a MySQL base securely in
CVS :-) But DBM files are actually really fast, so this shouldn't be a
problem.
Our problem is, that the scripts can't connect to the NWS servers. I
just tried to make a really simple page:
<?php include('http://gimpster.com/'); ?>
That didn't work either, but it works with
http://www.sourceforge.net/. So my guess is, that we're trapped behind
the big bad firewall at SourceForge :-( SourceForge are very careful
with the security at their site, so we'll probably have to figure out
a work-around. (Something like a cron-job at my university which makes
a SSH-connection and updates the DBM files...)
Feel free to play with this - I'm going to have something to eat now.
=2D-=20
Martin Geisler My GnuPG Key: 0xF7F6B57B
See my homepage at http://www.gimpster.com/ for:
PHP Weather =3D> Shows the current weather on your webpage.
PHP Shell =3D> A telnet-connection (almost :-) in a PHP page.
|