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
variables, like expandpath ..
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
That gives me the actual server path though. I need the http path.. :(
-Mike
On Fri, 3 Dec 2004 17:26:01 +0100, Pascal Peters [EMAIL PROTECTED] wrote:
GetDirectoryFromPath(GetCurrentTemplatePath())
-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]
Sent: 03 December
That gives me the actual server path though. I need the http
path.. :(
Why don't you just strip the file name from CGI.PATH_INFO? Or am I missing
something?
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
Why don't you just strip the file name from CGI.PATH_INFO? Or am I missing
something?
Actually I tried that but couldn't figure it out.. :)
-Mike
~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
Treat is like a list, use the / as the delimiter, delete the last list item.
--
Aaron Rouse
http://www.happyhacker.com/
On Fri, 3 Dec 2004 11:52:02 -0500, Mike [EMAIL PROTECTED] wrote:
Why don't you just strip the file name from CGI.PATH_INFO? Or am I missing
something?
Actually I tried
Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, December 03, 2004 8:54 AM
To: CF-Talk
Subject: RE: path variables, like expandpath ..
That gives me the actual server path though. I need the http path..
:(
Why don't you just strip the file name from CGI.PATH_INFO? Or am I
missing something
Is there a variable (maybe a cgi variable) that stores the root web
path for the current template. For example..
Unfortunately, ColdFusion doesn't seem to have anything similar to the ASP
APPL_MD_PATH variable. If all of you're files are in the same directory,
then you can use a combination of
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
#getdirectoryfrompath(cgi.server_name cgi.path_info)#
Did exactally what I needed!
Thank you everyone!
-Mike
~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com
Message:
Is there a variable (maybe a cgi variable) that stores
the root web
path for the current template. For example..
Unfortunately, ColdFusion doesn't seem to have anything
similar to the ASP
APPL_MD_PATH variable. If all of you're files are in the
same directory,
then you can use a
11 matches
Mail list logo