Thread: server.mappath
View Single Post
  #2 (permalink)  
Old September 5th, 2003, 04:17 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

No, it would / could start at the root of your site:
Code:
Server.MapPath("/folder1/folder2/map.htm")
would return the physical location of the file with this URL:

www.example.com/folder1/folder2/map.htm

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.