Any simple way to dig out just the domain without hlq?
www.test.co.uk
Ive also noticed $_SERVER['SERVER_NAME'] sometimes contains WWW. that needs stripping.
blar.domain.co.uk = domain
www.domain.co.uk = domain
domain.co.uk = domain
www.test.co.uk
Ive also noticed $_SERVER['SERVER_NAME'] sometimes contains WWW. that needs stripping.
blar.domain.co.uk = domain
www.domain.co.uk = domain
domain.co.uk = domain
Last edited: