On 10/17/07, Steve Sequenzia <[EMAIL PROTECTED]> wrote: > > I am trying to figure out if it is possible to tell the name of the > directory that the viewed page is in. I have been playing with cfdirectory > and I cannot figure it out. > > What I mean if this is the file > c:\inpub\wwwroot\website\about-us\index.cfm I want to read the about-us and > make it a variable on the page. > > Anyone know if this is possible? > > Thanks!
i think you need to reverse it, then do a lookup for the first slash, then the next slash and grab the data between. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291378 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

