How to get the Domain Name from URL in PHP

How to get the Domain Name from URL in PHP