I think this might be what you want:

http://cflib.org/udf.cfm?ID=837

-----Original Message-----
From: Matt Robertson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 11 February 2004 9:44 a.m.
To: CF-Talk
Subject: Determine url relativity between two points?

Before I go and build this I thought I'd ask if anyone else already has
this:

I need to determine the relative url from one location to another, for use
in a dynamic call to cfmodule.  If the module call is taking place from

http://localhost/tee/hee/

and the module is at

http://localhost/foo/bar/woo/hoo/

I need to be able to run something that gives me back this string:

../../foo/bar/woo/hoo/

Anyone got that lying around?

--
-------------------------------------------
Matt Robertson,     [EMAIL PROTECTED]
MSB Designs, Inc. http://mysecretbase.com
-------------------------------------------

--

  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to