Is it possible to use getPageContext().include() to access a file
which isn't under the webroot?
Bert
On Thu, 2 Dec 2004 12:53:07 -0500, Michael Dinowitz
<[EMAIL PROTECTED]> wrote:
> CFINCLUDE will parse any page it includes, which means that it will look
> through
> the page for CF content to evaluate. Doesn't matter if it's a plain html page
> or
> a CF one, doesn't matter what the extension is. If you are including html
> content into a CF page, it's better to use:
> getPageContext().include('./myfile.html')
> This will run the html page and include it into the calling page without
> parsing
> it. i.e. it's an html page, not a CF one. The same code calling a CF page will
> parse it though.
>
>
> > As for <cfinclude>ing a file, it doesn't matter what the extension is.
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185979
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