Capturar URL PHP

//CAPTURAR URL y URI
$host= $_SERVER["HTTP_HOST"];
$url= $_SERVER["REQUEST_URI"];
echo "http://" . $host . $url;
Junior Cercado V.