Adobe 38040334 - Dreamweaver CS3 User Manual page 26

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

The myScripts.cfm file in the Configuration/DeployScripts folder on the local computer is copied to another
1
folder named DeployScripts, which is a subfolder of the root folder on the ultraqa8 website. To deploy the files,
Dreamweaver uses the protocol specified in the site configuration properties.
Dreamweaver uses HTTP protocol to post the
2
As a result of the post request, the web server on ultraqa8 executes the myScripts.cfm script using the
3
MMHttp.postTextCallback()
Availability
Dreamweaver UltraDev 4, enhanced in Dreamweaver MX.
Description
Performs an HTTP post of the text to the specified URL and passes the reply from the server to the specified
function. Typically, the data associated with a post operation is form-encoded text, but it could be any type of data
that the server expects to receive.
Arguments
callbackFunc, URL, dataToPost, {contentType}, {serverScriptsFolder}
• The
argument is the name of the JavaScript function to call when the HTTP request is complete.
callbackFunc
• The
argument is an absolute URL on a web server; if http:// is omitted from the URL, Dreamweaver assumes
URL
HTTP protocol.
• The
argument is the data to be posted. If the third argument is
dataToPost
or omitted,
coded"
data
(available at www.faqs.org/rfcs/rfc1866.html).
• The
argument, which is optional, is the content type of the data to be posted. If omitted, this
contentType
argument defaults to
"application/x-www-form-urlencoded"
• The
serverScriptsFolder
ration folder on the application server—to which you want to post the data. To post the data, Dreamweaver uses
the appropriate transfer protocol (such as FTP, WebDAV, or Remote File System). Dreamweaver retrieves these
data and passes them to the function identified by
If an error occurs, Dreamweaver reports it in the
arg1=Foo
must be form-encoded according to section 8.2.1 of the RFC 1866 specification
argument is an optional string. It names a particular folder, relative to the Configu-
callbackFunc
statusCode
data to the web server.
"application/x-www-form-urlen-
.
.
property of the returned object.
DREAMWEAVER CS3
21
API Reference
data.
arg1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents