Connecting Tech Pros Worldwide Forums | Help | Site Map

file.asp

Paulo
Guest
 
Posts: n/a
#1: Aug 12 '08
Any way of getting just the file_name.asp on asp of the actual script is
running?

Many thanks



Evertjan.
Guest
 
Posts: n/a
#2: Aug 12 '08

re: file.asp


Paulo wrote on 12 aug 2008 in microsoft.public.inetserver.asp.general:
Quote:
Any way of getting just the file_name.asp on asp of the actual script is
running?
s = Request.ServerVariables("PATH_INFO")
s = mid( s , InStrRev(s,"/")+1 )

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Closed Thread