asp文件名 不指定

Else , 2008/04/15 14:43 , 积累些,自己也写些 , Comments(0) , Reads(5186) , Via Original

strPath=request.serverVariables("script_name")
currentAspFileFullName=lcase(mid(strPath,instrRev(strPath,"/")+1))
if request.ServerVariables("QUERY_STRING")<>"" then
  currentAspFileFullName=currentAspFileFullName&"?"&request.ServerVariables("QUERY_STRING")
end if
Add a comment

Nickname

Site URI

Email

Enable HTML Enable UBB Enable Emots Hidden Remember [Login] [Register]