InternetPostData()

Syntax:

InternetPostData( URL, Data, ReturnObject, Secure )

Parameters:

URL – the Uniform Resource Locator. The URL must indicate the script that will evaluate the Data sent back, such as, a cgi-script. URL can be a stringor a variablecontaining a string. A string must be surrounded by quote marks. This parameter is required.

Data – the data to be sent and returned from the server. Data can be a string or an Object. A string can be a literal string surrounded by quote marks or a variable containing a string. An object can contain any number of members. This parameter is required.

ReturnObject – this parameter is either true or false. If true, the data is returned as an Object. If false, the data is returned as a string. This parameter is optional and the default is false.

Secure – this parameter is either true or false. If true, the data is posted to the URL using the HTTPS protocol. If false, the data is posted using the normal non-secure HTTP. This parameter is optional and the default is false.

Note:
The server must support HTTPS and have a valid certificate to use secure mode. The post action will fail if the server does not support HTTPS (port 443) or the certificate is invalid.

Remarks:

This function will send and receive information from a remote server.

image\Script_Button.jpgExamples