asp_web_howto thread: name of self(file)
Message #1 by <uandme72@y...> on Thu, 23 Aug 2001 14:24:57 +0530
|
|
how to get the name of the file itself in which the code is written?
using ASP and also using JavaScript??
Message #2 by "Ken Schaefer" <ken@a...> on Thu, 23 Aug 2001 19:34:07 +1000
|
|
<%
For each Key in Request.ServerVariables
Response.Write( _
Key & " = " & Request.ServerVariables(Key) & "<br>" & vbCrLf)
Next
%>
I'm sure you can find it in there yourself.
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----- Original Message -----
From: "S N" <uandme72@y...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Thursday, August 23, 2001 6:54 PM
Subject: [asp_web_howto] name of self(file)
Message #3 by Renante Milan <renantem@a...> on Thu, 23 Aug 2001 17:53:14 +0800
|
|
Use the ff:
<%sName=Request.ServerVariables("SCRIPT_NAME")%>
-----Original Message-----
From: S N [mailto:uandme72@y...]
Sent: Thursday, August 23, 2001 4:55 PM
To: ASP Web HowTo
Subject: [asp_web_howto] name of self(file)
how to get the name of the file itself in which the code is written?
using ASP and also using JavaScript??
Message #4 by "Walter Franssen" <walter@w...> on Thu, 23 Aug 2001 10:47:33
|
|
StrFile = Request.ServerVariables("SCRIPT_NAME")
<%= StrFile %>
|