Connecting Tech Pros Worldwide Help | Site Map

file.asp

  #1  
Old August 12th, 2008, 08:15 PM
Paulo
Guest
 
Posts: n/a
Any way of getting just the file_name.asp on asp of the actual script is
running?

Many thanks


  #2  
Old August 12th, 2008, 09:15 PM
Evertjan.
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
CONVERT FILE.ASP TO HTM or HTML TREVOR SILKSTONE answers 3 June 17th, 2007 05:21 AM
how to include file .asp in file .aspx armando answers 1 April 18th, 2007 01:35 PM
Pass Parameters to <!-- #Include File="file.asp" --> vunet.us@gmail.com answers 10 April 4th, 2007 08:35 PM
How can i run a batch file asp.net emman_54@hotmail.com answers 3 February 4th, 2006 07:15 PM
Connection String from Include file ASP to SQL Server 2000???? Brad answers 2 July 19th, 2005 02:29 PM