Overview:
Weather Forecast Script can provide current weather conditions and tells the forecast for upcoming days. It automatically detects user location and shows the weather data of user city. It also allows you to search specific city or place and show the weather conditions and forecast of that city or place. This script is easy to install and required no database. This script is using OpenWeatherMap API which provides 5 days forecast data for free.
Features:
- Easy to Install
- Openweathermap Free API integrated
- 5 days forecast
- Automatically detects user location and show weather forecast
- Worldwide city based search
- No database required
Requirements:
- Have a web OpenWeatherMap API Key
- Have a web hosting to upload script files
- Hosting with cPanel or FTP
- If you do all things above, you can go to the next step.
Instructions:
- To get the API key, we need to register with openweathermap.org. After signing up, it will redirect us to the profile settings.
- Above the profile settings form, there is a top menu containing several tabs. Click the API Keys tab and copy the API key.
- Open index.php file that is inside “Script_Files” folder and replace the key in variable $api_key with your API key.
- Now login to your cpanel hosting
- Open File Manager via cPanel or ftp server
- Upload all files inside “Script_Files” folder to your folder destination on your hosting
Reviews
There are no reviews yet.