function returndomain($url){$domaine=parse_url($url);return $domaine['host'];}