greetings,
is there a way i can get the real domain of a subdomain host ?
for example. i have subdomain.domain.com.ph . how will i get the domain.com.ph ? I have a script found on the php.net using a preg_match. but it only get the last 2 name, so the output will became com.ph, not domain.com.ph . Anyone already have this script ? 🙂
thanks,
eli