curl_setopt($curl, CURLOPT_URL,"http://www.adres.com"); //gidilecek adres
curl_setopt($curl, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); //kullanmakta oldugun browser bilgilerini gonderir
curl_setopt($curl, CURLOPT_TIMEOUT, 60);
curl_setopt($curl, CURLOPT_REFERER, "www.adres.com"); //referans adres
curl_setopt($curl, CURLOPT_FOLLOWLOCATION,1);
curl_setopt($curl, CURLOPT_RETURNTRANSFER,1);