This works, but I would rather do something like in #2 example
I'm trying to wildcard * everything in front of domain.comPHP Code:
if ( $_SERVER['SERVER_NAME'] != ' www.domain.com' )
also if someone knows a better way to check a domain canPHP Code:
if ( $_SERVER['SERVER_NAME'] != ' * .domain.com' )
you please let me know?.