get the servername + foldername (without script name)

Xcaliber

New Member
how to get the servername + foldername without containing the script name?\[code\]string filePath = Request.QueryString.Get("filepath");string serverPath = Request.ServerVariables["SERVER_NAME"] + "/";string fullUrl = "http://" + serverPath + filePath;Response.Write(fullUrl);\[/code\]the above code is missing folder name.
 
Back
Top