I have some code that works just fine on my DEV and TEST environments but returns nothing in PROD (Network Solutions hosted). I am including the code and am looking for any suggestions. I have used just the API call and it works fine from multiple machines AND as an HTML file in PROD, but when the following will not return data in PROD.
<?
session_start();
$jsonurl = "http://api.openweathermap.org/data/2.5/weather?q=Boston&appid=somethinggoeshere";
$json = file_get_contents($jsonurl);
$weather = json_decode($json);
$kelvin = $weather->main->temp;
$celcius = $kelvin - 273.15;
$fahrenheit = round($celcius * 1.8 + 32);
$pressure = $weather->main->pressure;
$desc = $weather->weather->description;
echo 'Irvine: '.$fahrenheit.' Description: '.$pressure;
echo '<br/>OpenWeatherMap Data: '.$json;
?>
Many thanks in advance.