parse_url($_SERVER['HTTP_REFERER'],PHP_URL_HOST)
Please note: JavaScript is required to post comments.