98
CFHTTPPARAM
Required for
parameters necessary to build a CFHTTP POST.
Syntax
<CFHTTPPARAM NAME="name"
TYPE="type"
VALUE="transaction type"
FILE="filename">
NAME
Required. A variable name for the data being passed.
TYPE
Required. The transaction type. Valid entries are:
URL
FormField
Cookie
CGI
File
VALUE
Optional for TYPE="File". Specifies the value of the URL, FormField, Cookie, File,
or CGI variable being passed.
FILE
Required for TYPE="File".
Example
<!--- This example shows the use of CFHTTPPARAM --->
<HTML>
<HEAD>
<TITLE>CFHTTPPARAM Example</TITLE>
</HEAD>
<BODY bgcolor=silver>
<H3>CFHTTPPARAM Example</H3>
<P>This view-only example shows the use of CFHTTPPARAM
to show the values of passed variables on another HTML
reference, accessed by CFHTTP.
could simply output the value of form.formtest,
url.url_test, cgi.cgi_test, and
cookie.cookie_test to prove that this page is working:
<H3>Sample Other File Listing</H3>
<CFOUTPUT>#HTMLCodeFormat("
<HTML>
CFHTTP
POST operations, CFHTTPPARAM is used to specify the
The other file
CFML Language Reference
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