1 - returndomain - récupérer le domaine d'une URL function returndomain($url){$domaine=parse_url($url);return $domaine['host'];}