is there a way other than with cffile-read and cfoutput to read contents of a file into a page's output?  Let's say I want to allow users to upload plain HTML in a freely-coded form, and want to CFINCLUDE it in my pages.

CFINCLUDE will compile, and process it which is not what I want.

I can always CFFILE read it and cfoutput the content, but that's not performant, since it loads the entire buffer into memory.  What I really want (and will write the code obviously, if i need to) is a java.io.bufferedreader to send line by line of a file to the page's output buffer.  That would be a really nice extension to cfml IMHO...

Is there a cf tag for this already?  Could I use CFCONTENT in the middle of my pages without resetting headers to accomplish this? (is that the recommended solution)?

Thanks. - Dov
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to