lunedì, dicembre 03, 2007

Classic ASP - Display the Current File Name

A nice tip from thescripts.com.

aPath = Split("/" & REquest.ServerVariables("PATH_INFO"), "/")
sFilename = aPath(UBound(aPath))
response.write(sFilename)