getDirectoryFromPath(script_name) should give you what you want.
Bryan LaPlante
----- Original Message -----
From: "Paris Lundis" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, September 16, 2001 3:37 PM
Subject: CF path question...
I have one of these unique issues that presents itself...
Eseentially to solve such I need to rip out the current server_name and
another value which is the directory location where the ccurent files
is located on the CF server...
I know of Script_name - howeve it includes the file as well ... could
parse it, however.
Also aware of PATH_INFO but it has the same problem...
Is there another CGI or CF feature that will just give me the path
minus the filename?
I am certain many people have had to work around this if not... How
have you gone about such?
-paris
[finding the future in the past, passing the future in the present]
[connecting people, places and things]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists