a PHP page that returns only a short text phrase, saying on appropriate dates and time, something like "Its a full moon tonight, after sunset at 6:60pm, and the sky is clear."
To run on my webserver, apache, PHP 5.2.5.? The URL will pass optional parameters, specifying the users location and time-zone and major airport (for weather-lookup of cloud cover), but if parameters aren't available, the code will use the IP address to geo-locate the approximate user location, and best-guess all it can.
I'd prefer a "free" Geo-location look-up, (maybe lite GeoIP by maxmind), but I'm open to "Pay" for quality geo-location, if reasonable. Need expert recommendation on that.
Coder would need to research to find algorithms for moon phase, sunrise & sunset based on lattiude and longitude.? I can supply sample code for fetching weather reports for aviation, based on airport code, decoding "METARs".? If no airport-code (eg. CYEG for Edmonton Intl Airport), is supplied in parameters, I want the algorithm to make a guess at nearest airport, requiring a little database of them to be found.