Thane,
If you are using CF 5:
Use <cfsavecontent> to trap the output html. Like so:
<cfsavecontent variable="myHtml">
Some html, some CF ... whatever...
</cfsavecontent>
You CFFILE operation then uses output="#myHTML#"
-mk
P.S. watch out for <cfsetting enablecfoutputonly="yes">
-----Original Message-----
From: Thane Sherrington [mailto:tsherr@;auracom.com]
Sent: Tuesday, November 05, 2002 9:16 AM
To: CF-Talk
Subject: Writing out an HTML file using CFFILE
I'm trying to write out the HTML file that CF creates so that I can attach
it to an e-mail. When I use CFFILE it fails because of the CF code within
the HTML I'm including in the output= portion. How can I do this?
T
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.