You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of screen scraping the NOAA website, use the class defined above to get info. Class requires the latitude and longitude which is already in the sql database.
Rough steps required:
define function in functions.inc.php that matches lat&long to the zip code from sql
define function(s) in functions.inc.php that returns current conditions and/or forecast from lat&long.
update agi so that freepbx functions are accessible (bootstrap post 2.9) and eliminate the sql and html lookups.
The text was updated successfully, but these errors were encountered:
See this project:
https://github.com/jhitesma/PHP-NOAA-Weather
Instead of screen scraping the NOAA website, use the class defined above to get info. Class requires the latitude and longitude which is already in the sql database.
Rough steps required:
The text was updated successfully, but these errors were encountered: