get a domain address with asp
how do I get the domain of an address to the asp?
Suppose we have the following addresses:
example.com
开发者_如何学Cexample.com/my example.com/news/nacional example.com/news/naciona/nada-como-um-dia.htmlI'd like to get just the domain, in this case o. ..
"example.com"
I take the field as an address to the asp?
Thanks!
Try this: Request.servervariables("SERVER_NAME")
Torbjørn
精彩评论