Re: [PHP] pulling data out of a string

2001-05-24 Thread Dan Lowe
Previously, Richard Kurth said: > > That my problem www is not always the host when it is a sub-domain it > would be like mysit.domain.net or sometimes people put a few extra > periods in the domain name like www.my.test.net I thought maybe I > could look at the string and find out how many peri

Re: [PHP] pulling data out of a string

2001-05-15 Thread Chris Lee
this will remove the www plus the top level domain this will remove the first host and the top level domain. -- Chris Lee [EMAIL PROTECTED] "Richard Kurth" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am trying to figure out how to pull data out