This isn't much of anything but is something I put together that is at
least somewhat related which you can put into an ASP file and see the
results of:
Response.Write "Server.Map Path with . : " & Server.MapPath( ".") & "<br>"
Response.Write "Server.Map Path with .. : " & Server.MapPath( "..") &
"<br>"
Response.Write "Server.Map Path with ../logs : " &
Server.MapPath( "../logs") & "<br>"
Response.Write "Server.Map Path with / : " & Server.MapPath( "/") & "<br>"
Response.Write "Server.Map Path with /. : " & Server.MapPath( "/.") &
"<br>"
Response.Write "Server.Map Path with /.. : " & Server.MapPath( "/..") &
"<br>"
Response.Write "Server.Map Path with /../ : " & Server.MapPath( "/../") &
"<br>"
Response.Write "Server.Map Path with /../.. : " &
Server.MapPath( "/../..") & "<br>"
Response.Write "Server.Map Path with /../../ : " &
Server.MapPath( "/../../") & "<br>"
Response.Write "Server.Map Path with /../www : " &
Server.MapPath( "/../www") & "<br>"
Response.Write "Server.Map Path with /../logs : " &
Server.MapPath( "/../logs") & "<br>"
Response.Write "Server.Map Path with /../hi : " &
Server.MapPath( "/../hi") & "<br>"
Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!