well duh....guess i missed this one.... "For backward compatibility, GetTemplatePath is still supported. However, GetBaseTemplatePath supersedes this function, and should be used in place of it."
i was going for..... <cfoutput> <br><br> Full Local Path: #GetTemplatePath()# <br><br> Relative LOCAL: #replace(cgi.script_name, "/", "\", "ALL")# <br><br> Relative Path: #cgi.script_name# <br><br> URL: http://#cgi.Server_name##cgi.Script_name# </cfoutput> but you still have cgi vars, GetCurrentTemplatepath(), Expandpath() and GetFileFrompath() ----- Original Message ----- From: "Ewok" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 11:38 AM Subject: Re: directory vars > have you tried GetTemplatePath() ? > > with a little manipulation teh rest can be pulled from its value > > ----- Original Message ----- > From: "Hugo Ahlenius" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Friday, January 24, 2003 5:34 AM > Subject: directory vars > > > > I would like to make some vars for my Application dynamic, especially if > > they are accessed from different path mappings, or from different > > sym-links in the directory tree: > > > > * absolute local path on server > > * relative local path > > * URL path > > > > For the directory that the Application.cfm is in. I have been > > experimenting a little with getbasetemplate, but that won't work if the > > template is in a dir below the Application root dir). > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

