you mean you want to transalte the DOS path to a URL, correct? Why
not use regex and replace to change the \ to / and remove the c:\.
This way you can create a relative URL. replace c:\ with
http://domain/ to make absolute URLs. This should be easy with regex
and replace.
Cheers!
------
Douglas Knudsen
LTT, that's Leveraged Technologies Team
[EMAIL PROTECTED]
Got Linux? http://linuxmall.com
From: [EMAIL PROTECTED] AT INTERNET on 02/20/2001 11:01 AM
To: [EMAIL PROTECTED] AT INTERNET@CCMAIL
cc: (bcc: Douglas Knudsen/ATL/ALLTELCORP)
Subject: Re: mind fart
that works great for the page that is currently running. I am doing
recursion through directories and making a directory tree with files
you can
click on and load the page. the path that I send to my treeview custom
tag
comes out with the directory path and I need to translate it back to a
relative path.
Sorry if I wasn't clear before.
----- Original Message -----
From: "Howie Hamlin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, February 20, 2001 9:48 AM
Subject: Re: mind fart
> Try cgi.script_name
>
> HTH,
>
> Howie Hamlin - inFusion Project Manager
> On-Line Data Solutions, Inc.
> www.CoolFusion.com
> 631-737-4668 x101
> inFusion Mail Server (iMS) - the World's most configurable mail
server
> Get your free copy of iMS POST-SE Server from CoolFusion!
>
> ----- Original Message -----
> From: "Bryan LaPlante" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Tuesday, February 20, 2001 10:41 AM
> Subject: mind fart
>
>
> > I am drawing a blank here. my path variable on the page returns
> > "c:\inetpub\wwwroot\temp" what is the function for converting it
back to
> > href="/temp"?
> >
> > Bryan LaPlante
> > 816-347-8220
> > [EMAIL PROTECTED]
> > http://www.netwebapps.com
> > Web Development
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists