1) Read the file into a variable with cffile or cfhttp
2) change all occurrences of with lt; with Replace or ReReplace
3) output the fiels
HTH
Dick
At 11:40 AM -0400 9/22/00, Henry Ahn wrote:
This seems like I am overlooking something obvious but maybe you all cna
help. Does anyone know
This seems like I am overlooking something obvious but maybe you all cna
help. Does anyone know a way to display all the text in a cfm file to the
browser?
We'd like to display text that includes ColdFusion and custom tag calls but
don't want to call the tags themselves.
For example the
2 options: CFCONTENT or CFFILE
cffile action="READ" file="Your file path and name" variable="contents"
cfoutput#HTMLCOdeFormat(contents)#/cfoutput
-Original Message-
From: Henry Ahn [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 22, 2000 10:41 AM
To
Yeah sure.
cffile action=read file=myfile.cfm variable="mysource"
cfoutput
#HtmlEditFormat(MySource)#
/cfoutput
~JustinMacCarthy
- Original Message -
From: "Henry Ahn" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Friday, September 22, 200
4 matches
Mail list logo