He clearly said "mapping isn't an option due to hosting company restrictions".
-----Original Message----- From: Nando [mailto:[EMAIL PROTECTED] Sent: Monday, February 05, 2007 2:35 PM To: CF-Talk Subject: Re: Referencing a CFC above the calling file. The dot.delimited.path.from.the.webroot should work, but i think you're indicating that it's outside of the webroot? If so, you can move it under the webroot, or find a way to create a mapping to it. On 2/5/07, Andy Matthews <[EMAIL PROTECTED]> wrote: > > I know how to instantiate a CFC if it's in the same (or sub) folder as > the calling file: > > myCFC = CreateObject("component", "includes.myCFC"); > > But how would you reference a CFC living in a directory ABOVE the > calling file. Assuming the paths below: > > utilities [dir] > common.cfc [file] > www [dir] > testing.cfm [file] > includes [dir] > myCFC.cfc [file] > > How would testing.cfm instantiate common.cfc? I'll bet that you can > use a mapping, but in this case, a mapping isn't an option due to > hosting company restrictions. > > Anyone? This email message may contain privileged and/or confidential information. If you are not the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this email message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this email message from your computer. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268712 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

