GetDirectoryFromPath(GetCurrentTemplatePath()) > -----Original Message----- > From: Mike [mailto:[EMAIL PROTECTED] > Sent: 03 December 2004 16:17 > To: CF-Talk > Subject: path variables, like expandpath .. > > Is there a variable (maybe a cgi variable) that stores the root web > path for the current template. For example.. > > http://www.domain.com/foo/blah.cfm > > I'm looking for a variable with this stored in it: > http://www.domain.com/foo > > #CGI.SERVER_NAME##CGI.PATH_INFO# Gets me pretty close with the > template name at the end.. > > -Mike > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186090 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54