Domain physical path

Hi there

I am in the process of setting up a forum, and need to edit the web.config file to indicate the two properties below:-

Obviously I have answered the first one, but what would my physical path be?

Thanks in advance

Brian Candy

D:\hshome\ftplogin\domain.com\instantforum34\skins\

[QUOTE=Yash]
D:\hshome\ftplogin\domain.com\instantforum34\skins
[/QUOTE]

Thanks for the prompt reply… that sorted that one out :))

anyways, it’s recommended to use a command to get the path in case your site is moved. in Classic ASP this is done with Server.MapPath(). I’m not sure how it’s done with .Net though

[QUOTE=bcandy]
Hi there

Obviously I have answered the first one, but what would my physical path be?

[/QUOTE]

Use any of these (C#):

Request.PhysicalApplicationPath+@“\forum\skins”

Or

Server.MapPath ( “/forum/skins” )