On Wed, Jun 16, 2010 at 21:42, Robert Cummings <rob...@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.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ We now offer SAME-DAY SETUP on a new line of servers! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php