Can i use PHP to identify the domain of the site the page is currently on?

What would I use?