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?
 
____________________________________
 
Andy Matthews
Senior Coldfusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249
[EMAIL PROTECTED]
www.dealerskins.com <http://www.dealerskins.com/> 
 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:268710
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to