Ver originalfunction dominio($dire) {$c = parse_url($dire);preg_match("/^http(s)?://(www\.)?(\w+)./", $c['host'],$hs);return strtolower($hs[3]);}