$adres = "https://www.voipdiscount.com/myaccount/sendsms.php?username=aaaa&password=bbbb&from=+48666555444&to=+48444555666&text=haloo";
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $adres);
curl_setopt($curl, CURLOPT_FAILONERROR, 1);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1)...