Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 how to get this file name being run?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

redbrad0
Advanced Member

USA
3725 Posts

Posted - 02 March 2001 :  18:51:02  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
I know this is an easy question but its been a hard week at work. so.......

If my web address is http://www.exhibitstore.com/graphics/approvals/view.asp

how do i get it to return view.asp in asp as the filename?

Brad

Doug G
Support Moderator

USA
6493 Posts

Posted - 02 March 2001 :  19:11:27  Show Profile
This should work

s1 = Request.ServerVariables("SCRIPT_NAME")
a1 = Split(s1, "/")
filename = a1(UBound(a1))


======
Doug G
======
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07