MACROMEDIA COLDFUSION 5-CFML Quick Reference page 6

Cfml quick reference
Hide thumbs Also See for COLDFUSION 5-CFML:
Table of Contents

Advertisement

cfcookie
<cfcookie name = "cookie_name"
value = "text"
expires = "period"
secure = "Yes" or "No"
path = "url"
domain = ".domain">
cfdirectory
<cfdirectory action = "directory action"
directory = "directory name"
name = "query name"
filter = "list filter"
mode = "permission"
sort = "sort specification"
newDirectory = "new directory name">
cfdump
<cfdump var = variable_name>
cferror
<cferror type = "request" or "validation" or "monitor"
or "exception"
template = "template_path"
mailTo = "email_address"
exception = "exception_type">
cfexecute
<cfexecute name = " ApplicationName "
arguments = "CommandLine Arguments"
outputFile = "Output file name"
timeout = "Timeout interval in seconds">
...
</cfexecute>
cfexit
<cfexit method = "method">
cffile
<cffile action = "upload"
fileField = "formfield"
destination = "full_path_name"
nameConflict = "behavior"
accept = "mime_type/file_type"
mode = "permission"
attributes = "file_attributes">
<cffile action = "move"
source = "full_path_name"
destination = "full_path_name"
attributes = "file_attributes">
<cffile action = "rename"
source = "full_path_name"
destination = "full_path_name"
attributes = "file_attributes">
<cffile action = "copy"
source = "full_path_name"
destination = "full_path_name"
attributes = "file_attributes">
<cffile action = "delete"
file = "full_path_name">
<cffile action = "read"
file = "full_path_name"
variable = "var_name">
<cffile action = "readBinary"
file = "full_path_name"
variable = "var_name">
<cffile action = "write"
file = "full_path_name"
output = "content"
mode = "permission"
addNewLine = "Yes" or "No"
attributes = "file_attributes">
<cffile action = "append"
file = "full_path_name"
output = "string"
attributes = "file_attributes">
cfflush
<cfflush interval = integer number of bytes>
cfform
<cfform name = "name"
action = "form_action"
preserveData = "Yes" or "No"
2
CFML Quick Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 5

Table of Contents