Hi all:
I am getting the following error:
Fatal error: Call to undefined function: curl_init() in c:\users\xxxxxxxxxxxxxx\weather\current_weather.php on line 20
(xxxxxxxxx is my domain name)
Here is the code from current_weather.php that it refers to:
My sysadmin has PHP4 installed on our server. I am a PHP newbie, so I have no idea how to correct this error. Any ideas?
I am getting the following error:
Fatal error: Call to undefined function: curl_init() in c:\users\xxxxxxxxxxxxxx\weather\current_weather.php on line 20
(xxxxxxxxx is my domain name)
Here is the code from current_weather.php that it refers to:
Code:
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, "[URL unfurl="true"]http://www.ejse.com/WeatherService/Service.asmx/GetWeatherInfo?zipCode=$zipCode");[/URL]
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$weather_input=curl_exec ($ch);
curl_close ($ch);
$weather_data = array();
$xml_current_tag_state = '';
$type_count = 0;
global $weather_data, $xml_current_tag_state;