coder63 adlı üyeden alıntı: mesajı görüntüle
<?php
function curlFunction($url)
{
$ch = curl_init ();
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11");
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);

$response = curl_exec($ch);
curl_close($ch);

return $response;
}

$url = "https://www.gokmenoyuncak.com/";
$data = curlFunction($url);

var_dump($data);
Hocam çalıştı çok çok teşekkür ederim