Collin Grady » PHP Weather

Looking for a good weather script to put up on your site?

Here’s a very good one from Collin Grady, which pulls weather data from the weather.com servers and caches it locally in a MySQL database. The image below is from an actual implementation of Collin’s PHP Weather which I setup to test it out.

Bangalore Weather

Link: Collin Grady » PHP Weather

  • I seem to be having a problem with this. I have the config file setup right... but i am getting this error

    Notice: Undefined variable: sun in C:\web\phpweather\index.php on line 41
    Notice: Trying to get property of non-object in C:\web\phpweather\index.php on line 41
    Notice: Undefined variable: sun in C:\web\phpweather\index.php on line 58
    Notice: Trying to get property of non-object in C:\web\phpweather\index.php on line 58

    any ideas?
blog comments powered by Disqus