• 31st July 2006 -By Vinu Thomas

    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

  • 2 Comments to “Collin Grady » PHP Weather”

    • Josh on September 23, 2007

      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:webphpweatherindex.php on line 41
      Notice: Trying to get property of non-object in C:webphpweatherindex.php on line 41
      Notice: Undefined variable: sun in C:webphpweatherindex.php on line 58
      Notice: Trying to get property of non-object in C:webphpweatherindex.php on line 58

      any ideas?

    • Josh on September 24, 2007

      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?

    Leave a Reply