This content has been marked as final. Show 4 replies
write a function with the tags and call it from cfscript.
> I want to upload a file using code inside the cfscript tag.
You could write a wrapper function that contains the cffile tag. Then call your custom function from inside your cfscript. The CFML library at cflib.org uses that concept. An example is the Dump function. It mimics the <cfdump> tag.
ah! makes perfect sense. Thanks!
<--- CF noob. sorry.
> I want to use the script method due to other
> that depends on it in the cfscript tag
Really? I can't think what might *depend* on CFScript.
What is it?