User Guide

Table Of Contents
1016 Chapter 41: Managing Files on the Server
5.
Save the file as cfcontent.cfm in the myapps directory under your web_root and view it in the
browser.
The text of the called file (cfcontent_message.htm) displays as normal HTML, as shown in the
following figure:
6.
In cfcontent.cfm, change type = "text/html" to type = "text/plain".
7.
Save the file and view it in the browser (refresh it if necessary).
The text displays as unformatted text, in which HTML tags are treated as text:
The following example shows how the cfcontent tag can create an Excel spreadsheet that contains
your data.