Chapter 1: ColdFusion Tags
99
<HEAD>
<TITLE>Sample Page</TITLE>
</HEAD>
<BODY>
<H3>Output the passed variables</H3>
<CFOUTPUT>
Form variable: ##form.form_test##
<br>URL variable: ##URL.url_test##
<br>Cookie variable: ##Cookie.cookie_test##
<br>CGI variable: ##CGI.cgi_test##
</CFOUTPUT>
</BODY>
</HTML>
")#</CFOUTPUT>
<H3>For CFHTTPPARAM code, see right frame</H3>
<!--- <P>
<CFHTTP METHOD="POST" URL="http://localhost/someotherfile.cfm">
<CFHTTPPARAM NAME="form_test" TYPE="FormField"
VALUE="This is a form variable">
<CFHTTPPARAM NAME="url_test" TYPE="URL" VALUE="This is a URL variable">
<CFHTTPPARAM NAME="cgi_test" TYPE="CGI" VALUE="This is a CGI variable">
<CFHTTPPARAM NAME="cookie_test" TYPE="Cookie" VALUE="This is a cookie">
</CFHTTP>
<CFOUTPUT>
#CFHTTP.FileContent#
</CFOUTPUT> --->
</BODY>
</HTML>
Need help?
Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?
Questions and answers