Re: Pulling data out of a domain name

From: Date: Wed, 05 Dec 2001 23:21:38 +0000
Subject: Re: Pulling data out of a domain name
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-76795@lists.php.net to get a copy of this message
* rdkurth@starband.net <rdkurth@starband.net> [Dec 05. 2001 18:05]: > Is there a more efficient way of doing what this script does is check > a domain name and separate the domain name from the ext. > The domain names could be in a few different formats. Like the > samples below. This script works but I was just wondering does it > have to be so long winded I think you want parse_url() <http://www.php.net/manual/en/function.parse-url.php> -- -Brian Clark

« previous php.general (#76795) next »