PHP Weather Script it’s a website script which displays the weather details for the visitors (if they can be detected, otherwise a default option will be shown), also allows them to search for certain locations and even save them to see it at a glance.

Important Note: Google Weather API has been deprecated and no longer exist, the script uses now a more advanced Weather API from MSN with data provided by Foreca B-).

Features:
  • User Location Recognition.
  • Both °C and °F format.
  • Dynamic backgrounds (between certain temperatures).
  • User can save 5 locations which can then be viewed in the User Account
  • Forecast for the next 3 days.
  • Info taken via MSN (Foreca) Weather API.
  • Cross Browser Compatible.
  • The visitor location is taken from the MaxMind Geo City Lite database, if the location of a visitor can’t be retrieved, then a default location will be shown (The Admin can set the default Location), the current temperature and the forecast are retrieved via the Google Weather API.

    Demo

    Admin Interface: http://weather.pricop.info/index.php?a=admin
    User: admin
    Password: pricop2008@yahoo.com

    User Interface: http://weather.pricop.info/index.php?a=user

    User: demo
    Password: demo

    Updates

    Update 1.2 [12/12/2014]
  • Updated the API requests
  • Update 1.1 [8/29/2012].
    Migrating the script to MSN API with data provided by Foreca due to the deprecation of Google Weather API.
    Fixed some bugs when switching between C and F degrees.

    Minimum Requierments: cURL Library, PHP, MySQL, ReWrite module, also the script works only on domains/subdomains.

    by
    by
    by
    by
    by
    by