Finding Out Script Name

Results 1 to 2 of 2

Thread: Finding Out Script Name

  1. #1
    Join Date
    Dec 1969

    Default Finding Out Script Name

    Howdy,<BR><BR>I was just wondering if anyone can remember how I can reference the name of the script from within the script? I.e. "index.asp" runs and outputs "index.asp", and the same code would work on "johndoe.asp" and output "johndoe.asp".<BR><BR>I think it&#039s a server variable or something similiar to that because I&#039ve done this before, but that code is no longer with me -- so anyone&#039s help would be appreciated.<BR><BR>Thanks a bunch,<BR>Ben

  2. #2
    Join Date
    Dec 1969

    Default RE: Finding Out Script Name

    Request.ServerVaraiables("SCRIPT_NAME")<BR><BR><BR >HTH<BR><BR>Jerry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts