C:\Inetpub\wwwroot\MySite\index.cfm
When I'm on the Gallery page, naturally, I see:
C:\Inetpub\wwwroot\MySite\Gallery\index.cfm
I'd love to be able to trim everything from here:
C:\Inetpub\wwwroot\MySite\
and be left with:
"index.cfm"
or "Gallery\index.cfm"
Because I'd like to be able to put a little "email a friend this page" link
and just dynamically add the path beyond http://www.MySite.com/
(http://www.MySite.com/Gallery/index.cfm, and
http://www.MySite.com/index.cfm) which GetFileFromPath() won't return. It'll
just return "index.cfm" no matter what directory I'm in, naturally.
So, does this make sense? I know it's a simple solution that's just escaping
me right now.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

