böyle
$ch = curl_init("http://www.xxx.com/"); // almak istediğimz url
curl_setopt($ch, CURLOPT_TIMEOUT, 30); //zaman aşımı 30 saniye
curl_setopt($ch, CURLOPT_REFERER, "http://www.iyi.com/"); //sahte referer
curl_setopt($ch, CURLOPT_USERAGENT, "User-Agent: Mozilla/4.0 (compatible; MSIE...