I accidentally posted in the wrong section of the forum...
http://www.daniweb.com/forums/thread279411.html
Im trying to use php echo to display domaincom (with no dot in between) and can't figure it out.
<?php echo(preg_replace('/^[a-z]*./','',$_SERVER["HTTP_HOST"])); ?>
works to display domain.com but I need domaincom