Forum Moderators: open

Message Too Old, No Replies

Finding out document name

         

DFrag

1:10 am on Feb 13, 2004 (gmt 0)

10+ Year Member



Hello all,

Is there a variable that ASP uses to store the directory or filename of the current document?

Something like $PHP_SELF in php?

Thanks
DFrag

webdevjim

11:05 am on Feb 13, 2004 (gmt 0)

10+ Year Member



What exactly are you trying to do. And ya there is a way to know the current working directory, etc.

/WebDevJim

mattglet

1:36 pm on Feb 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



you can use Request.ServerVariables("SCRIPT_NAME")

-Matt

DFrag

10:27 pm on Feb 15, 2004 (gmt 0)

10+ Year Member



I think that's it.

I'll give it a try.

Thanks
DFrag