code asp pour obtenir le chemin racine du répertoire virtuel

2019-12-22

Code de base:


 <%
 TempArray = Array ("account_book", "admin", "ajaxFile", "catalog", "excel", "excel_stu", "frame", "inc", "lib", "pub", "stock", "student"  "," sygl "," temp "," windows ")
 url = LCase (Server.MapPath ("./"))
 pour i = 0 à UBound (TempArray)
 url = Replace (url, "\" & TempArray (i), "")
 Suivant
 response.write url
 %> 
 

www.xd1998.com@2001-2030Partage De Technologie