no doubt there are better way to do this , but I have done this in the past
BASE_URL = "http://" & Request.ServerVariables("HTTP_HOST") &
Replace(Request.ServerVariables("URL"),"somefolder/thispage.asp","")
PictureURL = BASE_URL & "pictures"
In the 1st part you replace what you don't want from the current full url to
the page your on
.......based on what ".asp" page/folder you are running at the time.
Then to build your picture folder url you add what folder info you need.
It's going to be slightly different depending on your site layout, where you
are, and the names of your pages and scripts, but this works.
I am sure there is a way better way to do it
--
Christopher Williams
www.PowerASP.com www.CJWSoft.com
"Fetty" <df********@hotmail.com> wrote in message
news:eP**************@TK2MSFTNGP15.phx.gbl...
I need to grab the full url of the virtual server server of the image
directory