Something like this should work:
<%
Dim strDomain
strDomain = Request.ServerVariables("server_name")
If Left(strDomain, 4) = "www." Then
strDomain = Mid(strDomain, 5, Len(strDomain) - 8)
End If
Response.Write ("<BR>Welcome to " & strDomain)
%>
I typed this right into the email, so it's untested. But it should be very
close to what you need. This also assumes that the domain extension is 3
characters in length, like .com, .net, etc.
Mark
Micheal <[EMAIL PROTECTED]> wrote:
<%Response.Write(Request.ServerVariables("server_name"))%> If I have
100 domain names and I want the to have the all look unique. Iwelcom
to "web site" is stead of welcome to "www.website.com"
or "website.com"
<p>How would I do that?
Yahoo! Groups SponsorADVERTISEMENT
---------------------------------
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/