[thelist] ColdFusion question

John Pye john.pye at purplehouse.com
Wed Apr 4 08:10:01 CDT 2001


I think I have seen a CF_EXEC custom tag which purports to do what you're
looking for. It was in

http://devex.allaire.com/developer/gallery

I can't vouch for how reliable etc it might be - I haven't tried it. It's
freeware, and it works in the way zac and jeff have been talking about, with
CFFILE, but with lots of CFCATCHing etc. So would be worth a try.

(Perhaps you could alternatively use <CFEXECUTE
application="opt/coldfusion/bin/cfexec #filename#"> to good effect, perhaps?
Of course, allowing CF_EXECUTE on a public server might be too much of
security risk. I can't see how you could get around using CFFILE really, in
any case.)

Hope that helps


John Pye
http://www.creativebase.com/
+44 (0)20 7258 6900


-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Ryan Carmody
Sent: Tuesday, April 03, 2001 7:37 PM
To: thelist at lists.evolt.org
Subject: [thelist] ColdFusion question


Hi all,

I'm trying to store an email template in a DB field.  The email template
contains coldfusion (cfif and cfoutput tags) that format the email and
insert info from queries.  I've tried using the evaluate(string) function,
but that just outputs the email template as text with the coldfusion still
there unevaluated.  It's almost as if I need to send the email template
through CF server twice.  Can anyone help me here?

TIA,
Ryan Carmody
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !







More information about the thelist mailing list