1: 2: 3: 4:
foreach ($html->find ('a') als $element) $element->href = parse_url ($element->href, PHP_URL_HOST); echo $element->href. „“; ? >