referer var aylardır çalışan kod erişim engeleme yüzünden çalışmaz oldu


$ch = curl_init();
	curl_setopt($ch, CURLOPT_REFERER, "http://i7i.us"); 
	curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)');
	curl_setopt($ch, CURLOPT_HEADER, 0); 
	curl_setopt($ch, CURLOPT_VERBOSE, 1); 
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
	curl_setopt($ch, CURLOPT_URL, "http://gdata.youtube.com/feeds/api/videos/-/funny/");
	echo curl_exec($ch);
	curl_close ($ch);
sonuç;

HTTP request failed! HTTP/1.0 403 Access denied