file.asp

Discussion in 'ASP General' started by Paulo, Aug 12, 2008.

  1. Paulo

    Paulo Guest

    Any way of getting just the file_name.asp on asp of the actual script is
    running?

    Many thanks
     
    Paulo, Aug 12, 2008
    #1
    1. Advertising

  2. Paulo

    Evertjan. Guest

    Paulo wrote on 12 aug 2008 in microsoft.public.inetserver.asp.general:

    > 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)
     
    Evertjan., Aug 12, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luis Esteban Valencia Muñoz
    Replies:
    3
    Views:
    1,421
    Scott Allen
    Jun 4, 2005
  2. =?Utf-8?B?QW5hbmRoaQ==?=

    How to call a ASP.net file from ASP file

    =?Utf-8?B?QW5hbmRoaQ==?=, Apr 19, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    322
    Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
    Apr 19, 2007
  3. Dave
    Replies:
    1
    Views:
    1,009
    Juan T. Llibre
    Jun 8, 2007
  4. =?ISO-8859-2?Q?Miros=B3aw?= Makowiecki

    Reading of file by next of map file and by next of file descriptor.

    =?ISO-8859-2?Q?Miros=B3aw?= Makowiecki, Jul 10, 2007, in forum: C++
    Replies:
    1
    Views:
    809
    Alf P. Steinbach
    Jul 10, 2007
  5. Tomasz Ludwiniak

    Execute ASP file from ASP file

    Tomasz Ludwiniak, Oct 29, 2003, in forum: ASP General
    Replies:
    3
    Views:
    146
    Bob Barrows
    Oct 29, 2003
Loading...

Share This Page