Matt:

Check out CFLib: http://www.cflib.org/udf.cfm?ID=841

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/

-----Original Message-----
From: Matt Robertson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 4:44 PM
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