w3webmaster.com, netTNT.com 5 Day Weather Forecast
Program by   W3webmaster.com, LLC  
  Home        Download        Installation        FAQs        Samples        Bugs  

Free 5 Day Weather Forecast


The five day weather forecast is fabricated from an RSS stream located at http://weather.gov/

Installation:

  1. Create a folder in your document path /InstalledWeather
  2. chdir /InstalledWeather
  3. Unpack the archive file: gzip -dc 5dayweather.tar.gz | tar xvf -
  4. Change ownership of files: chown -R youruser:yourgroup *
  5. Change tmp folder to writable: chmod g+w tmp
  6. Modify /InstalledWeather/index.php as follows:
    • define("Latitude","41"); // Location Latitude
    • define("Longitude","-73.13"); // Location Longitude
    • define("CityState","Oxford,CT"); // Name of City
  7. Modify weather.css to suit your web site
  8. Place this code into the PHP page where weather is to be displayed:
    <?php include_once("$DOCUMENT_ROOT/InstalledWeather/index.php"); ?>

USA 5 Day Weather
Help Support Free Software, Host Your Site With Us:
  W3webmaster.com, LLC / NetTNT.com  
Ask Us What We Can Do For Your Site:
  Contact Our Sales Department