curl kullanın

function curl_sayfayicalistir($Url){
 
    // Curl kurulumu yapılmış mı?
    if (!function_exists('curl_init')){
        die('Curl php'ye kurulmamış!');
    }
 

    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $Url);
    curl_setopt($ch, CURLOPT_REFERER, "https://www.r10.net/");
    curl_setopt($ch, CURLOPT_USERAGENT, "MozillaXYZ/1.0");
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_TIMEOUT, 10);
    $output = curl_exec($ch);
    curl_close($ch);
    return $output;
}

curl_sayfayicalistir("http://api.iletimerkezi.com/v1/send-sms/get/?username=xx&password=xx&text=deneme&receipents=xx&sender=xx");