Brian,
I hope your roof repairs are going well.
The Dark Sky API looks great - a good substitute for WU. Will the latest release of the stationcron.php support Curl? I believe I am presently using a custom version you sent me.
Take care.
Chuck
hi all API calls are now curl based now as more and more hosts are disabling fopen/ by default so
example but all are almost identical apart from url..
// weather34 darksky curl based
$url4a = '
https://api.forecast.io/forecast/'.$apikey.'/'.$lat.','.$lon.'?lang='.$language.'&units='.$darkskyunit ;
$ch4a = curl_init($url4a);
$filename4a = '../jsondata/darksky.txt';
$complete_save_loc4a = $filename4a;
$fp4a = fopen($complete_save_loc4a, 'wb');
curl_setopt($ch4a, CURLOPT_FILE, $fp4a);
curl_setopt($ch4a, CURLOPT_HEADER, 0);
curl_exec($ch4a);
curl_close($ch4a);
fclose($fp4a);