how do I get the domain from a url from example from http://www.yahoo.com/asdasd/casd www.yahoo.com etc, thanks
$HTTP_HOST