Hi,

I have a simple code to create a dynamic CFC root and it works for my local
system (WinMCE 2005).

<cfset request.cfcroot =
"#Replace(listDeleteAt(cgi.script_name,listlen(cgi.script_name,'/'),'/'),'/'
,'','ALL')#." & "cfc">

As an example 'E:/projects/abc.com/www/' is my webroot.

When I have a cfc file like 'E:/projects/abc.com/www/cfc/image.cfc', I can
reach this cfc from my 'E:/projects/abc.com/www/test.cfm' page with a syntax
such as 

<cfset application.imageCFC =
createobject("component","#request.cfcroot#.image") /> 



But there are problems on Win2003 Servers.

Do you have anything like that? What would you suggest as alternative?


Sincerely,

Oðuz Demirkapý






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237473
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to