Re: Re[2]: [PHP] Pulling data out of a domain name

2001-12-05 Thread Brian Clark
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [Dec 05. 2001 18:38]: > Hello Brian, > actually no parse_url() will return various components of the URL > like > $url[scheme] = http > $url[host] = www.php.net > $url[path] = /download-php.php3 > $url[query] = csel=br > I what to split the host name up n

Re[2]: [PHP] Pulling data out of a domain name

2001-12-05 Thread rdkurth
Hello Brian, actually no parse_url() will return various components of the URL like $url[scheme] = http $url[host] = www.php.net $url[path] = /download-php.php3 $url[query] = csel=br I what to split the host name up not the whole URL. Wednesday, December 05, 2001, 3:21:38 PM, you wrote: BC> *

Re: [PHP] Pulling data out of a domain name

2001-12-05 Thread Brian Clark
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [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 wo

[PHP] Pulling data out of a domain name

2001-12-05 Thread rdkurth
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 www