RE: path variables, like expandpath ..

2004-12-03 Thread Pascal Peters
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

RE: path variables, like expandpath ..

2004-12-03 Thread Pascal Peters
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

Re: path variables, like expandpath ..

2004-12-03 Thread Mike
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

RE: path variables, like expandpath ..

2004-12-03 Thread Dave Watts
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

Re: path variables, like expandpath ..

2004-12-03 Thread Mike
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

Re: path variables, like expandpath ..

2004-12-03 Thread Aaron Rouse
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

RE: path variables, like expandpath ..

2004-12-03 Thread Figy, Kam
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

RE: path variables, like expandpath ..

2004-12-03 Thread Ben Rogers
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

Re: path variables, like expandpath ..

2004-12-03 Thread S . Isaac Dealey
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

Re: path variables, like expandpath ..

2004-12-03 Thread Mike
#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:

RE: path variables, like expandpath ..

2004-12-03 Thread S . Isaac Dealey
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