|
-
Mar 20th, 2002, 02:34 PM
#1
Thread Starter
Lively Member
How To Retrieve The Filename Of The File That Is Currently Accessed ?
Good day !
Let say I am in a page of a website, may be http://www.abc.com/def.asp
How can I get the string of the filename, which is "def.asp" in this case in ASP ?
Thanks a lot !
-
Mar 20th, 2002, 02:54 PM
#2
Black Cat
Use Request.ServerVariables("SCRIPT_NAME") and get everything after the last "/" in the string.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|