• 10-08-2021, 12:46:39
    #1
    Üyeliği durduruldu
    merhaba dostlar php ile referer göndermek istedim lakin hiçbir bilgi değişmiyor nerde sorun olabilir ?
    $ch=curl_init();
    
    curl_setopt($ch, CURLOPT_URL, 'http://siteadi.com/07-referer.php');
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($ch, CURLOPT_REFERER, 'http://www.mynet.com');
    curl_exec($ch);
    curl_close($ch);
    <?php
    
    
    if (!isset($_SERVER['HTTP_REFERER'])) {
        echo "Pardon tanıyamadım";
    } else {
        echo "Şurdan Geldin...: ".$_SERVER['HTTP_REFERER'];
    }
    ?>
  • 10-08-2021, 12:55:31
    #2
    Referer bilgisini tarayıcının tanımlıyor olması gerekiyor.