| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
What is the root of the site?
I am trying to configure htmlarea for my site with image upload and I have to specify the root of the site ie
' *** What is the root of the site? Be careful. If you keep it as C:\ or something, hackers can ' *** easily go through your machine and download any file they choose to! The last \ is required Const strRootFolder = "c:\Inetpub\wwwroot\wysiwyg14\" My site is not hosted from my machine so how do I find this path?? |
|
#2
|
||||
|
||||
|
The easiest way to find out is by contacting your webhost. Just explain what you are trying to do and they should be able to tell you the path to your assigned folder.
__________________
................... ASCII and ye shall receive .................. Knowledge is the only resource on earth that multiplies when shared Support the Shemzilla Project Powered by C# |
|
#3
|
||||
|
||||
|
try to read Request.MapPath("/") value.
|
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > What is the root of the site? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|