PHP URL / domain name splitter ver. 1.00
released: 2006-09-11
There is no standard PHP function to extract the tld from an URL, parsing an URL with parse_url() will return the hostname and other URL information. If you need only the tld, for example to query the whois data of a given domain name, the following script should be usefull. To run this script you need a database with all tld's. Check the support link to the right and join the forum to get the database dump.
Viewed 14974 times
Rating:
Your banner at finalwebsites.com?
use the contact form for further information and prices.