Tural Abiyev adlı üyeden alıntı: mesajı görüntüle
İlki bast url çekme, diğer istediğinz gib. Rastgele referer eklendi ve user agent gerçeğe yakın

<?php
 

$referrer = array(
    'https://google.com/',
    'https://yandex.com/',
);

    $url = 'https://apkfulldownload.com/';
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_REFERER, $referrer[array_rand($referrer)]);
    curl_setopt($ch, CURLOPT_USERAGENT, @$_SERVER['HTTP_USER_AGENT']);

$ch = curl_init();
$result = curl_exec($ch);
curl_close($ch);
 
echo"<pre>";print_r($url);echo "</pre>";
<?php

$headers[0] = "Accept: text/xml,application/xml,application/xhtml+xml,";
    $header[0] .= "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5";
    $header[] = "Cache-Control: max-age=0";
    $header[] = "Connection: keep-alive";
    $header[] = "Keep-Alive: 300";
    $header[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
    $header[] = "Accept-Language: en-us,en;q=0.5";
    $header[] = "Pragma: ";
    
$referrer = array(
    'https://google.com/',
    'https://yandex.com/',
);

$url = 'https://apkfulldownload.com';

$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_USERAGENT, @$_SERVER['HTTP_USER_AGENT']);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_REFERER, $referrer[array_rand($referrer)]);
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$result = curl_exec($ch);
curl_close($ch);
Bu kısmı anlayamadım hocam?