MapPath

WEB/ASP 2013. 3. 28. 21:31 |
 

<%= Server.MapPath(".") %>현재 페이지가 저장된 경로를 알고자 할때

<%= Server.MapPath("..") %>현재 페이지가 있는 상위 디렉토리 이름

<%= Server.MapPath("/") %>홈디렉토리 경로

<%= Server.MapPath("\") %>홈디렉토리 경로

<%= Server.MapPath("/asp3") %>가상 디렉토리의 디렉토리 경로

'WEB > ASP' 카테고리의 다른 글

Server Variables 다 보기  (0) 2013.03.28
MD5 소스  (0) 2013.03.28
페이지에 넘어온 모든 Form값 보기  (0) 2013.03.28
Err.number 코드  (0) 2013.03.28
ASP 도움말  (0) 2012.10.23
Posted by ezmind
: