Dan wrote:
yes co.uk is a tdl.
No it's not, it's a ccTLD which is a TLD specific to a country.
"Kevin Waterson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi all.
Im looking for a way to get the domain from an email address.
Not sub domains, just the domain, so
[EMAIL PROTECTED]
would return
example.com.mn
similarly, the address [EMAIL PROTECTED] would return
example.com
perhaps an array of tld's, then strip the tld off the end and anything
before that and the next "." is the domain?
also, somebody told me .co.uk was a tld, but I cannot see it listed
http://www.iana.org/root-whois/index.html
What are you actually trying to achieve?
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php