file name

Results 1 to 3 of 3

Thread: file name

  1. #1
    carena Guest

    Default file name

    I want to write a code which should give me the current asp file.<BR>for ex.if I run example.asp, my code should return that file name.<BR>how will i do that??<BR>Thanks.

  2. #2 Guest

    Default RE: file name

    This should work!<BR>&#060;%= request.ServerVariables("URL") %&#062;<BR>

  3. #3
    carena Guest

    Default RE: file name

    thanks for the response. it works.<BR><BR>but can the slash in front of the file name be removed?<BR><BR>i get something like /test.asp

Posting Permissions

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