Encoding Custom Tags - MACROMEDIA COLDFUSION 5-DEVELOPING Develop Manual

Table of Contents

Advertisement

Managing Custom Tags

Encoding custom tags

You can use the command-line utility
application page. By default, the utility is installed in the /cfusion/bin directory. It is
especially useful for securing custom tag code before distributing it.
The
cfencode infile outfile [/r /q] [/h "message"] /v"2"
The following table describes the options:
Option
input file
output file
/r
/q
/h
/v
Note
While it is possible to encode binary files with
tag uses the following syntax:
cfencode
Description
Name of the file you want to encode.
encoded file.
Path and filename of the output file.
Warning: If you do not specify an output filename, a warning message
asks if you want to continue, in which case the encoded file will
overwrite the source file.
Recursive, when used with wildcards, recurses through subdirectories
to encode files.
Suppresses warning messages.
Header, allows custom header to be written to the top of the encoded
file(s).
Required parameter that allows encoding using a specified version
number. Use "1" for pages you want to be able to run on ColdFusion
3.x. Use "2" for pages you want to run strictly on ColdFusion 4.0 and
later.
to encode any ColdFusion
cfencode
cfencode
, it is not recommended.
cfencode
189
does not process an

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 5

Table of Contents