xoops_getUrlDomain

Function to get the domain from a URL.

Parameters
string $url

the URL to be stripped.

#
Returns
string