cheers,
barneyb
On Wed, 15 Sep 2004 12:05:32 -0400, Jeff Small <[EMAIL PROTECTED]> wrote:
> When I output GetTemplatePath() on my home page, I see:
> 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.
>
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

