Whatever message this page gives is out now! Go check it out!
action = "read" file = "full pathname" variable = "variable name" charset = "character set option"> |
Attribute | Req/Opt | Default | Description |
action | Required | Type of file manipulation that the tag performs. | |
file | Required | Pathname of the file to read. If not an absolute path (starting with a drive letter and a colon, or a forward or backward slash), it is relative to the ColdFusion temporary directory, which is returned by the GetTempDirectory function. | |
variable | Required | Name of variable to contain contents of text file. | |
charset | Optional | Character encoding identified by the file's byte order mark, if any; otherwise, JVM default file character set. | The character encoding in which the file contents is encoded. The following list includes commonly used values:
|
file = "c:\web\message.txt" variable = "Message"> |
<cfoutput>#Message#</cfoutput> |