Hello all...


I am trying to strip a url up into sections... for example:


If a have a url like http://www.mysite.com/ <http://www.mysite.com/>  


I want to take just the "mysite" part a store as a variable and then store
the .com part as another variable then remove all the http:// and www parts.

So far I have come up with this... but it only partially works.  


<cfset SESSION.NavInfo.SiteRoot = "http://#cgi.http_host#/">


<cfset SiteName = ListFirst(SESSION.NavInfo.SiteRoot,".")>

Thanks for any help on this...


Neal Bailey
Internet Marketing Manager
E-mail:  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to