<?php $url = "http://login.some.site/a/b/c?redir=ef"; echo parse_url($url, PHP_URL_SCHEME + PHP_URL_HOST);
You have javascript disabled. You will not be able to edit any code.