Curl not working

Username (e.g. epiz_XXX) or Website URL


Error Message


Other Information

I am new to this hosting. I am trying to execute a php file that contains curl attached below, but it is not executed and nothing happens.
The code:

$url = "";
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_URL, $url); 
	curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
	curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/6.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3");
	curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
	curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); 
	$result = curl_exec($ch); 
	curl_close ($ch);

Please see:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.