I have tried multiple ways of doing but can't seem to get it right.
I want to echo the current domain, but make sure that any "http" or "www" is stripped out. I can get the "http" out, just not the "www" with this:
<?php $domain = $_SERVER['HTTP_HOST']; echo $domain; ?>
Any suggestions?
Kenny