PHP obtient une URL de courant sans nom de fichier

echo '//'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']);
Pleasant Puma