something like [code=php] $domain = explode(".", "http://www.google.com"); [/code] would output something like [code=php] $domain[0] = "http://www"; $domain[1] = "google"; $domain[3] = ".com"; [/code][/QUOTE]
Using [B]just that function[/B] get the domain from this url... <i> </i>http://www.google.com/search?lr=&ie=UTF-8&oe=UTF-8&q=sorry%20for%20confusion.this%20is%20the%20correct%20url%20link%20what%20bokeh%20meant.