Re: Another parse problem
| From: | Daniel Brown | Date: | Thu, 17 Jun 2010 02:16:29 +0000 |
| Subject: | Re: Another parse problem | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306217@lists.php.net to get a copy of this message | ||
On Wed, Jun 16, 2010 at 21:42, Robert Cummings <robert@interjinn.com> wrote:
[snip!]
> Anyways, those, by
> virtue of your above description can have two or more parts and there's not
> a simple way to extract that part without also extracting the sub-domain
> portions.
True. Not without some static rules and logic, including
knowledge of which ccTLDs have required or potential country-wide
SLDs. Though I think the solutions provided by yourself, Shawn, and
myself would suffice for most situations. I'm hoping Tedd will share
his as well.
--
</Daniel P. Brown>
daniel.brown@parasane.net || danbrown@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
We now offer SAME-DAY SETUP on a new line of servers!