bingöl
Diğer AGD Haber Ajansı Galerileri
";
$site = "https://adequote.com/icerik.php?url=".$url;
$ch = curl_init();
$hc = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)";
curl_setopt($ch, CURLOPT_REFERER, 'http://www.google.com');
curl_setopt($ch, CURLOPT_URL, $site);
curl_setopt($ch, CURLOPT_USERAGENT, $hc);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$site = curl_exec($ch);
curl_close($ch);
preg_match_all("@(.*?)
@si",$site,$veri_derece1);
echo $veri_derece1[0][0];
?>