$params = "?param=1";
$ch = curl_init ();
curl_setopt($ch, CURLOPT_URL,"https://www.myhost.com".$params);
curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$res = curl_exec ($ch);
curl_close ($ch);
echo $res;