<?php $host = 'host.dupa.com'; $parts = explode('.', $host, 1); echo $parts[0];
You have javascript disabled. You will not be able to edit any code.