dave Thu Aug 19 01:40:08 2004 EDT
Modified files: /phpdoc/en/reference/curl/functions curl-setopt.xml Log: - Add constant tags where needed and replace erroneous parameter tags.
http://cvs.php.net/diff.php/phpdoc/en/reference/curl/functions/curl-setopt.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc/en/reference/curl/functions/curl-setopt.xml diff -u phpdoc/en/reference/curl/functions/curl-setopt.xml:1.12 phpdoc/en/reference/curl/functions/curl-setopt.xml:1.13 --- phpdoc/en/reference/curl/functions/curl-setopt.xml:1.12 Wed Aug 18 23:24:29 2004 +++ phpdoc/en/reference/curl/functions/curl-setopt.xml Thu Aug 19 01:40:08 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <!-- splitted from ./en/functions/curl.xml, last change in rev 1.1 --> <refentry id="function.curl-setopt"> <refnamediv> @@ -29,21 +29,21 @@ <row> <entry>Option</entry> <entry>Set <parameter>value</parameter> to</entry> - <entry>Changed</entry> + <entry>Notes</entry> </row> </thead> <tbody> <row> - <entry>CURLOPT_BINARYTRANSFER</entry> + <entry><constant>CURLOPT_BINARYTRANSFER</constant></entry> <entry> &true; to return the raw output when - <parameter>CURLOPT_RETURNTRANSFER</parameter> is used. + <constant>CURLOPT_RETURNTRANSFER</constant> is used. </entry> <entry> </entry> </row> <row> - <entry>CURLOPT_CRLF</entry> + <entry><constant>CURLOPT_CRLF</constant></entry> <entry> &true; to convert Unix newlines to CRLF newlines on transfers. @@ -52,7 +52,7 @@ </entry> </row> <row> - <entry>CURLOPT_DNS_USE_GLOBAL_CACHE</entry> + <entry><constant>CURLOPT_DNS_USE_GLOBAL_CACHE</constant></entry> <entry> &true; to use a global DNS cache. This option is not thread-safe and is enabled by default. @@ -61,7 +61,7 @@ </entry> </row> <row> - <entry>CURLOPT_FAILONERROR</entry> + <entry><constant>CURLOPT_FAILONERROR</constant></entry> <entry> &true; to fail silently if the HTTP code returned is greater than 300. The default behavior is to return the page @@ -71,7 +71,7 @@ </entry> </row> <row> - <entry>CURLOPT_FILETIME</entry> + <entry><constant>CURLOPT_FILETIME</constant></entry> <entry> &true; to attempt to retrieve the modification date of the remote document. You can then retrieve this value using @@ -82,19 +82,19 @@ </entry> </row> <row> - <entry>CURLOPT_FOLLOWLOCATION</entry> + <entry><constant>CURLOPT_FOLLOWLOCATION</constant></entry> <entry> &true; to follow any <literal>"Location: "</literal> header that the server sends as part of the HTTP header (note this is recursive, PHP will follow as many <literal>"Location: "</literal> headers that it is sent, - unless <parameter>CURLOPT_MAXREDIRS</parameter> is set). + unless <constant>CURLOPT_MAXREDIRS</constant> is set). </entry> <entry> </entry> </row> <row> - <entry>CURLOPT_FORBID_REUSE</entry> + <entry><constant>CURLOPT_FORBID_REUSE</constant></entry> <entry> &true; to force the connection to explicitly close when it has finished processing, and not be pooled for reuse. @@ -103,7 +103,7 @@ </entry> </row> <row> - <entry>CURLOPT_FRESH_CONNECT</entry> + <entry><constant>CURLOPT_FRESH_CONNECT</constant></entry> <entry> &true; to force the use of a new connection instead of a cached one. @@ -112,7 +112,7 @@ </entry> </row> <row> - <entry>CURLOPT_FTP_USE_EPRT</entry> + <entry><constant>CURLOPT_FTP_USE_EPRT</constant></entry> <entry> &true; to use EPRT (and LPRT) when doing active FTP downloads. Use &false; to disable EPRT and LPRT and use PORT @@ -122,7 +122,7 @@ </entry> </row> <row> - <entry>CURLOPT_FTP_USE_EPSV</entry> + <entry><constant>CURLOPT_FTP_USE_EPSV</constant></entry> <entry> &true; to first try an EPSV command for FTP transfers before reverting back to PASV. Set to &false; @@ -132,7 +132,7 @@ </entry> </row> <row> - <entry>CURLOPT_FTPAPPEND</entry> + <entry><constant>CURLOPT_FTPAPPEND</constant></entry> <entry> &true; to append to the remote file instead of overwriting it. @@ -141,16 +141,16 @@ </entry> </row> <row> - <entry>CURLOPT_FTPASCII</entry> + <entry><constant>CURLOPT_FTPASCII</constant></entry> <entry> An alias of - <parameter>CURLOPT_TRANSFERTEXT</parameter>. Use that instead. + <constant>CURLOPT_TRANSFERTEXT</constant>. Use that instead. </entry> <entry> </entry> </row> <row> - <entry>CURLOPT_FTPLISTONLY</entry> + <entry><constant>CURLOPT_FTPLISTONLY</constant></entry> <entry> &true; to only list the names of an FTP directory. @@ -159,7 +159,7 @@ </entry> </row> <row> - <entry>CURLOPT_HEADER</entry> + <entry><constant>CURLOPT_HEADER</constant></entry> <entry> &true; to include the header in the output. </entry> @@ -167,7 +167,7 @@ </entry> </row> <row> - <entry>CURLOPT_HTTPGET</entry> + <entry><constant>CURLOPT_HTTPGET</constant></entry> <entry> &true; to reset the HTTP request method to GET. Since GET is the default, this is only necessary if the request @@ -177,7 +177,7 @@ </entry> </row> <row> - <entry>CURLOPT_HTTPPROXYTUNNEL</entry> + <entry><constant>CURLOPT_HTTPPROXYTUNNEL</constant></entry> <entry> &true; to tunnel through a given HTTP proxy. </entry> @@ -185,7 +185,7 @@ </entry> </row> <row> - <entry>CURLOPT_MUTE</entry> + <entry><constant>CURLOPT_MUTE</constant></entry> <entry> &true; to be completely silent with regards to the CURL functions. @@ -194,7 +194,7 @@ </entry> </row> <row> - <entry>CURLOPT_NETRC</entry> + <entry><constant>CURLOPT_NETRC</constant></entry> <entry> &true; to scan your <filename>~/.netrc</filename> file to find your username and password for the remote site that @@ -204,7 +204,7 @@ </entry> </row> <row> - <entry>CURLOPT_NOBODY</entry> + <entry><constant>CURLOPT_NOBODY</constant></entry> <entry> &true; to exclude the body from the output. </entry> @@ -212,7 +212,7 @@ </entry> </row> <row> - <entry>CURLOPT_NOPROGRESS</entry> + <entry><constant>CURLOPT_NOPROGRESS</constant></entry> <entry> &true; to display a progress meter for CURL transfers. @@ -227,7 +227,7 @@ </entry> </row> <row> - <entry>CURLOPT_NOSIGNAL</entry> + <entry><constant>CURLOPT_NOSIGNAL</constant></entry> <entry> &true; to ignore any CURL function that causes a signal to be sent to the PHP process. This is turned on by default @@ -238,7 +238,7 @@ </entry> </row> <row> - <entry>CURLOPT_POST</entry> + <entry><constant>CURLOPT_POST</constant></entry> <entry> &true; to do a regular HTTP POST. This POST is the normal <literal>application/x-www-form-urlencoded</literal> kind, @@ -248,17 +248,17 @@ </entry> </row> <row> - <entry>CURLOPT_PUT</entry> + <entry><constant>CURLOPT_PUT</constant></entry> <entry> &true; to HTTP PUT a file. The file to PUT must - be set with <parameter>CURLOPT_INFILE</parameter> and - <parameter>CURLOPT_INFILESIZE</parameter>. + be set with <constant>CURLOPT_INFILE</constant> and + <constant>CURLOPT_INFILESIZE</constant>. </entry> <entry> </entry> </row> <row> - <entry>CURLOPT_RETURNTRANSFER</entry> + <entry><constant>CURLOPT_RETURNTRANSFER</constant></entry> <entry> &true; to return the transfer as a string of the return value of <function>curl_exec</function> instead of outputting @@ -268,16 +268,16 @@ </entry> </row> <row> - <entry>CURLOPT_SSL_VERIFYPEER</entry> + <entry><constant>CURLOPT_SSL_VERIFYPEER</constant></entry> <entry> &false; to stop CURL from verifying the peer's certificate. Alternate certificates to verify against can be - specified with the <parameter>CURLOPT_CAINFO</parameter> option + specified with the <constant>CURLOPT_CAINFO</constant> option or a certificate directory can be specified with the - <parameter>CURLOPT_CAPATH</parameter> option. - <parameter>CURLOPT_SSL_VERIFYHOST</parameter> may also need to be + <constant>CURLOPT_CAPATH</constant> option. + <constant>CURLOPT_SSL_VERIFYHOST</constant> may also need to be &true; or &false; if - <parameter>CURLOPT_SSL_VERIFYPEER</parameter> is disabled (it + <constant>CURLOPT_SSL_VERIFYPEER</constant> is disabled (it defaults to 2). </entry> <entry> @@ -286,7 +286,7 @@ </entry> </row> <row> - <entry>CURLOPT_TRANSFERTEXT</entry> + <entry><constant>CURLOPT_TRANSFERTEXT</constant></entry> <entry> &true; to use ASCII mode for FTP transfers. For LDAP, it retrieves data in plain text instead of HTML. On @@ -297,18 +297,18 @@ </entry> </row> <row> - <entry>CURLOPT_UNRESTRICTED_AUTH</entry> + <entry><constant>CURLOPT_UNRESTRICTED_AUTH</constant></entry> <entry> &true; to keep sending the username and password when following locations (using - <parameter>CURLOPT_FOLLOWLOCATION</parameter>), even when the + <constant>CURLOPT_FOLLOWLOCATION</constant>), even when the hostname has changed. </entry> <entry> </entry> </row> <row> - <entry>CURLOPT_UPLOAD</entry> + <entry><constant>CURLOPT_UPLOAD</constant></entry> <entry> &true; to prepare for an upload. </entry> @@ -316,11 +316,11 @@ </entry> </row> <row> - <entry>CURLOPT_VERBOSE</entry> + <entry><constant>CURLOPT_VERBOSE</constant></entry> <entry> &true; to output verbose information. Writes output to <literal>STDERR</literal>, or the file specified using - <parameter>CURLOPT_STDERR</parameter>. + <constant>CURLOPT_STDERR</constant>. </entry> <entry> </entry> @@ -338,12 +338,12 @@ <row> <entry>Option</entry> <entry>Set <parameter>value</parameter> to</entry> - <entry>Changed</entry> + <entry>Notes</entry> </row> </thead> <tbody> <row> - <entry>CURLOPT_BUFFERSIZE</entry> + <entry><constant>CURLOPT_BUFFERSIZE</constant></entry> <entry> The size of the buffer to use for each read. There is no guarantee this request will be fulfilled, however. @@ -353,7 +353,7 @@ </entry> </row> <row> - <entry>CURLOPT_CLOSEPOLICY</entry> + <entry><constant>CURLOPT_CLOSEPOLICY</constant></entry> <entry> Either <parameter>CURLCLOSEPOLICY_LEAST_RECENTLY_USED</parameter> or @@ -365,7 +365,7 @@ </entry> </row> <row> - <entry>CURLOPT_CONNECTTIMEOUT</entry> + <entry><constant>CURLOPT_CONNECTTIMEOUT</constant></entry> <entry> The number of seconds to wait whilst trying to connect. Use 0 to wait indefinitely. @@ -374,7 +374,7 @@ </entry> </row> <row> - <entry>CURLOPT_DNS_CACHE_TIMEOUT</entry> + <entry><constant>CURLOPT_DNS_CACHE_TIMEOUT</constant></entry> <entry> The number of seconds to keep DNS entries in memory. This option is set to 120 (2 minutes) by default. @@ -383,7 +383,7 @@ </entry> </row> <row> - <entry>CURLOPT_HTTP_VERSION</entry> + <entry><constant>CURLOPT_HTTP_VERSION</constant></entry> <entry> <parameter>CURL_HTTP_VERSION_NONE</parameter> (default, lets CURL decide which version to use), @@ -394,7 +394,7 @@ </entry> </row> <row> - <entry>CURLOPT_HTTPAUTH</entry> + <entry><constant>CURLOPT_HTTPAUTH</constant></entry> <entry> <para> The HTTP authentication method(s) to use. The options are: @@ -423,7 +423,7 @@ </entry> </row> <row> - <entry>CURLOPT_INFILESIZE</entry> + <entry><constant>CURLOPT_INFILESIZE</constant></entry> <entry> The expected size, in bytes, of the file when uploading a file to a remote site. @@ -432,47 +432,47 @@ </entry> </row> <row> - <entry>CURLOPT_LOW_SPEED_LIMIT</entry> + <entry><constant>CURLOPT_LOW_SPEED_LIMIT</constant></entry> <entry> The transfer speed, in bytes per second, that the transfer should be - below during <parameter>CURLOPT_LOW_SPEED_TIME</parameter> seconds + below during <constant>CURLOPT_LOW_SPEED_TIME</constant> seconds for PHP to consider the transfer too slow and abort. </entry> <entry> </entry> </row> <row> - <entry>CURLOPT_LOW_SPEED_TIME</entry> + <entry><constant>CURLOPT_LOW_SPEED_TIME</constant></entry> <entry> The number of seconds the transfer should be below - <parameter>CURLOPT_LOW_SPEED_LIMIT</parameter> for PHP to consider + <constant>CURLOPT_LOW_SPEED_LIMIT</constant> for PHP to consider the transfer too slow and abort. </entry> <entry> </entry> </row> <row> - <entry>CURLOPT_MAXCONNECTS</entry> + <entry><constant>CURLOPT_MAXCONNECTS</constant></entry> <entry> The maximum amount of persistent connections that are allowed. When the limit is reached, - <parameter>CURLOPT_CLOSEPOLICY</parameter> is used to determine + <constant>CURLOPT_CLOSEPOLICY</constant> is used to determine which connection to close. </entry> <entry> </entry> </row> <row> - <entry>CURLOPT_MAXREDIRS</entry> + <entry><constant>CURLOPT_MAXREDIRS</constant></entry> <entry> The maximum amount of HTTP redirections to follow. Use this option - alongside <parameter>CURLOPT_FOLLOWLOCATION</parameter>. + alongside <constant>CURLOPT_FOLLOWLOCATION</constant>. </entry> <entry> </entry> </row> <row> - <entry>CURLOPT_PORT</entry> + <entry><constant>CURLOPT_PORT</constant></entry> <entry> An alternative port number to connect to. </entry> @@ -480,11 +480,11 @@ </entry> </row> <row> - <entry>CURLOPT_PROXYAUTH</entry> + <entry><constant>CURLOPT_PROXYAUTH</constant></entry> <entry> The HTTP authentication method(s) to use for the proxy connection. Use the same bitmasks as described in - <parameter>CURLOPT_HTTPAUTH</parameter>. For proxy authentication, + <constant>CURLOPT_HTTPAUTH</constant>. For proxy authentication, only <parameter>CURLAUTH_BASIC</parameter> and <parameter>CURLAUTH_NTLM</parameter> are currently supported. </entry> @@ -493,16 +493,16 @@ </entry> </row> <row> - <entry>CURLOPT_PROXYPORT</entry> + <entry><constant>CURLOPT_PROXYPORT</constant></entry> <entry> The port number of the proxy to connect to. This port number can - also be set in <parameter>CURLOPT_PROXY</parameter>. + also be set in <constant>CURLOPT_PROXY</constant>. </entry> <entry> </entry> </row> <row> - <entry>CURLOPT_PROXYTYPE</entry> + <entry><constant>CURLOPT_PROXYTYPE</constant></entry> <entry> Either <parameter>CURLPROXY_HTTP</parameter> (default) or <parameter>CURLPROXY_SOCKS5</parameter>. @@ -512,7 +512,7 @@ </entry> </row> <row> - <entry>CURLOPT_RESUME_FROM</entry> + <entry><constant>CURLOPT_RESUME_FROM</constant></entry> <entry> The offset, in bytes, to resume a transfer from. </entry> @@ -520,7 +520,7 @@ </entry> </row> <row> - <entry>CURLOPT_SSL_VERIFYHOST</entry> + <entry><constant>CURLOPT_SSL_VERIFYHOST</constant></entry> <entry> 1 to check the existence of a common name in the SSL peer certificate. 2 to check the existence of @@ -531,7 +531,7 @@ </entry> </row> <row> - <entry>CURLOPT_SSLVERSION</entry> + <entry><constant>CURLOPT_SSLVERSION</constant></entry> <entry> The SSL version (2 or 3) to use. By default PHP will try to determine this itself, although in some cases you must set this manually. @@ -540,14 +540,14 @@ </entry> </row> <row> - <entry>CURLOPT_TIMECONDITION</entry> + <entry><constant>CURLOPT_TIMECONDITION</constant></entry> <entry> - How <parameter>CURLOPT_TIMEVALUE</parameter> is treated. + How <constant>CURLOPT_TIMEVALUE</constant> is treated. Use <parameter>CURL_TIMECOND_IFMODSINCE</parameter> to return the page only if it has been modified since the time specified in - <parameter>CURLOPT_TIMEVALUE</parameter>. If it hasn't been modified, + <constant>CURLOPT_TIMEVALUE</constant>. If it hasn't been modified, a <literal>"304 Not Modified"</literal> header will be returned - assuming <parameter>CURLOPT_HEADER</parameter> is &true;. + assuming <constant>CURLOPT_HEADER</constant> is &true;. Use <parameter>CURL_TIMECOND_ISUNMODSINCE</parameter> for the reverse effect. <parameter>CURL_TIMECOND_IFMODSINCE</parameter> is the default. @@ -557,7 +557,7 @@ </entry> </row> <row> - <entry>CURLOPT_TIMEOUT</entry> + <entry><constant>CURLOPT_TIMEOUT</constant></entry> <entry> The maximum number of seconds to allow CURL functions to execute. </entry> @@ -565,10 +565,10 @@ </entry> </row> <row> - <entry>CURLOPT_TIMEVALUE</entry> + <entry><constant>CURLOPT_TIMEVALUE</constant></entry> <entry> The time in seconds since January 1st, 1970. The time will be used - by <parameter>CURLOPT_TIMECONDITION</parameter>. By default, + by <constant>CURLOPT_TIMECONDITION</constant>. By default, <parameter>CURL_TIMECOND_IFMODSINCE</parameter> is used. </entry> <entry> @@ -587,31 +587,31 @@ <row> <entry>Option</entry> <entry>Set <parameter>value</parameter> to</entry> - <entry>Changed</entry> + <entry>Notes</entry> </row> </thead> <tbody> <row> - <entry>CURLOPT_CAINFO</entry> + <entry><constant>CURLOPT_CAINFO</constant></entry> <entry> The name of a file holding one or more certificates to verify the peer with. This only makes sense when used in combination with - <parameter>CURLOPT_SSL_VERIFYPEER</parameter>. + <constant>CURLOPT_SSL_VERIFYPEER</constant>. </entry> <entry> </entry> </row> <row> - <entry>CURLOPT_CAPATH</entry> + <entry><constant>CURLOPT_CAPATH</constant></entry> <entry> A directory that holds multiple CA certificates. Use this option - alongside <parameter>CURLOPT_SSL_VERIFYPEER</parameter>. + alongside <constant>CURLOPT_SSL_VERIFYPEER</constant>. </entry> <entry> </entry> </row> <row> - <entry>CURLOPT_COOKIE</entry> + <entry><constant>CURLOPT_COOKIE</constant></entry> <entry> The contents of the <literal>"Set-Cookie: "</literal> header to be used in the HTTP request. @@ -620,7 +620,7 @@ </entry> </row> <row> - <entry>CURLOPT_COOKIEFILE</entry> + <entry><constant>CURLOPT_COOKIEFILE</constant></entry> <entry> The name of the file containing the cookie data. The cookie file can be in Netscape format, or just plain HTTP-style headers dumped into @@ -630,7 +630,7 @@ </entry> </row> <row> - <entry>CURLOPT_COOKIEJAR</entry> + <entry><constant>CURLOPT_COOKIEJAR</constant></entry> <entry> The name of a file to save all internal cookies to when the connection closes. @@ -639,7 +639,7 @@ </entry> </row> <row> - <entry>CURLOPT_CUSTOMREQUEST</entry> + <entry><constant>CURLOPT_CUSTOMREQUEST</constant></entry> <entry> A custom request method to use instead of <literal>"GET"</literal> or <literal>"HEAD"</literal> when doing @@ -661,16 +661,16 @@ </entry> </row> <row> - <entry>CURLOPT_EGBSOCKET</entry> + <entry><constant>CURLOPT_EGBSOCKET</constant></entry> <entry> - Like <parameter>CURLOPT_RANDOM_FILE</parameter>, except a filename + Like <constant>CURLOPT_RANDOM_FILE</constant>, except a filename to an Entropy Gathering Daemon socket. </entry> <entry> </entry> </row> <row> - <entry>CURLOPT_ENCODING</entry> + <entry><constant>CURLOPT_ENCODING</constant></entry> <entry> The contents of the <literal>"Accept-Encoding: "</literal> header. This enables decoding of the response. Supported encodings are @@ -682,7 +682,7 @@ </entry> </row> <row> - <entry>CURLOPT_FTPPORT</entry> + <entry><constant>CURLOPT_FTPPORT</constant></entry> <entry> The value which will be used to get the IP address to use for the FTP "POST" instruction. The "POST" instruction tells @@ -695,7 +695,7 @@ </entry> </row> <row> - <entry>CURLOPT_INTERFACE</entry> + <entry><constant>CURLOPT_INTERFACE</constant></entry> <entry> The name of the outgoing network interface to use. This can be an interface name, an IP address or a host name. @@ -704,7 +704,7 @@ </entry> </row> <row> - <entry>CURLOPT_KRB4LEVEL</entry> + <entry><constant>CURLOPT_KRB4LEVEL</constant></entry> <entry> The KRB4 (Kerberos 4) security level. Any of the following values (in order from least to most powerful) are valid: @@ -721,7 +721,7 @@ </entry> </row> <row> - <entry>CURLOPT_POSTFIELDS</entry> + <entry><constant>CURLOPT_POSTFIELDS</constant></entry> <entry> The full data to post in a HTTP "POST" operation. </entry> @@ -729,7 +729,7 @@ </entry> </row> <row> - <entry>CURLOPT_PROXY</entry> + <entry><constant>CURLOPT_PROXY</constant></entry> <entry> The HTTP proxy to tunnel requests through. </entry> @@ -737,7 +737,7 @@ </entry> </row> <row> - <entry>CURLOPT_PROXYUSERPWD</entry> + <entry><constant>CURLOPT_PROXYUSERPWD</constant></entry> <entry> A username and password formatted as <literal>"[username]:[password]"</literal> to use for the @@ -747,7 +747,7 @@ </entry> </row> <row> - <entry>CURLOPT_RANDOM_FILE</entry> + <entry><constant>CURLOPT_RANDOM_FILE</constant></entry> <entry> A filename to be used to seed the random number generator for SSL. </entry> @@ -755,7 +755,7 @@ </entry> </row> <row> - <entry>CURLOPT_RANGE</entry> + <entry><constant>CURLOPT_RANGE</constant></entry> <entry> Range(s) of data to retrieve in the format <literal>"X-Y"</literal> where X or Y are optional. HTTP transfers @@ -766,7 +766,7 @@ </entry> </row> <row> - <entry>CURLOPT_REFERER</entry> + <entry><constant>CURLOPT_REFERER</constant></entry> <entry> The contents of the <literal>"Referer: "</literal> header to be used in a HTTP request. @@ -775,7 +775,7 @@ </entry> </row> <row> - <entry>CURLOPT_SSL_CIPHER_LIST</entry> + <entry><constant>CURLOPT_SSL_CIPHER_LIST</constant></entry> <entry> A list of ciphers to use for SSL. For example, <literal>RC4-SHA</literal> and <literal>TLSv1</literal> are valid @@ -785,7 +785,7 @@ </entry> </row> <row> - <entry>CURLOPT_SSLCERT</entry> + <entry><constant>CURLOPT_SSLCERT</constant></entry> <entry> The name of a file containing a PEM formatted certificate. </entry> @@ -793,16 +793,16 @@ </entry> </row> <row> - <entry>CURLOPT_SSLCERTPASSWD</entry> + <entry><constant>CURLOPT_SSLCERTPASSWD</constant></entry> <entry> The password required to use the - <parameter>CURLOPT_SSLCERT</parameter> certificate. + <constant>CURLOPT_SSLCERT</constant> certificate. </entry> <entry> </entry> </row> <row> - <entry>CURLOPT_SSLCERTTYPE</entry> + <entry><constant>CURLOPT_SSLCERTTYPE</constant></entry> <entry> The format of the certificate. Supported formats are <literal>"PEM"</literal> (default), <literal>"DER"</literal>, @@ -813,16 +813,16 @@ </entry> </row> <row> - <entry>CURLOPT_SSLENGINE</entry> + <entry><constant>CURLOPT_SSLENGINE</constant></entry> <entry> The identifier for the crypto engine of the private SSL key - specified in <parameter>CURLOPT_SSLKEY</parameter>. + specified in <constant>CURLOPT_SSLKEY</constant>. </entry> <entry> </entry> </row> <row> - <entry>CURLOPT_SSLENGINE_DEFAULT</entry> + <entry><constant>CURLOPT_SSLENGINE_DEFAULT</constant></entry> <entry> The identifier for the crypto engine used for asymmetric crypto operations. @@ -831,7 +831,7 @@ </entry> </row> <row> - <entry>CURLOPT_SSLKEY</entry> + <entry><constant>CURLOPT_SSLKEY</constant></entry> <entry> The name of a file containing a private SSL key. </entry> @@ -839,10 +839,10 @@ </entry> </row> <row> - <entry>CURLOPT_SSLKEYPASSWD</entry> + <entry><constant>CURLOPT_SSLKEYPASSWD</constant></entry> <entry> The secret password needed to use the private SSL key specified in - <parameter>CURLOPT_SSLKEY</parameter>. + <constant>CURLOPT_SSLKEY</constant>. <note> <para> Since this option contains a sensitive password, remember to keep @@ -854,10 +854,10 @@ </entry> </row> <row> - <entry>CURLOPT_SSLKEYTYPE</entry> + <entry><constant>CURLOPT_SSLKEYTYPE</constant></entry> <entry> The key type of the private SSL key specified in - <parameter>CURLOPT_SSLKEY</parameter>. Supported key types are + <constant>CURLOPT_SSLKEY</constant>. Supported key types are <literal>"PEM"</literal> (default), <literal>"DER"</literal>, and <literal>"ENG"</literal>. </entry> @@ -865,7 +865,7 @@ </entry> </row> <row> - <entry>CURLOPT_URL</entry> + <entry><constant>CURLOPT_URL</constant></entry> <entry> The URL to fetch. You can also set this when initializing a session with <function>curl_init</function>. @@ -874,7 +874,7 @@ </entry> </row> <row> - <entry>CURLOPT_USERAGENT</entry> + <entry><constant>CURLOPT_USERAGENT</constant></entry> <entry> The contents of the <literal>"User-Agent: "</literal> header to be used in a HTTP request. @@ -883,7 +883,7 @@ </entry> </row> <row> - <entry>CURLOPT_USERPWD</entry> + <entry><constant>CURLOPT_USERPWD</constant></entry> <entry> A username and password formatted as <literal>"[username]:[password]"</literal> to use for the @@ -905,12 +905,12 @@ <row> <entry>Option</entry> <entry>Set <parameter>value</parameter> to</entry> - <entry>Changed</entry> + <entry>Notes</entry> </row> </thead> <tbody> <row> - <entry>CURLOPT_HTTP200ALIASES</entry> + <entry><constant>CURLOPT_HTTP200ALIASES</constant></entry> <entry> An array of HTTP 200 responses that will be treated as valid responses and not as errors. @@ -920,7 +920,7 @@ </entry> </row> <row> - <entry>CURLOPT_HTTPHEADER</entry> + <entry><constant>CURLOPT_HTTPHEADER</constant></entry> <entry> An array of HTTP header fields to set. </entry> @@ -928,7 +928,7 @@ </entry> </row> <row> - <entry>CURLOPT_POSTQUOTE</entry> + <entry><constant>CURLOPT_POSTQUOTE</constant></entry> <entry> An array of FTP commands to execute on the server after the FTP request has been performed. @@ -937,7 +937,7 @@ </entry> </row> <row> - <entry>CURLOPT_QUOTE</entry> + <entry><constant>CURLOPT_QUOTE</constant></entry> <entry> An array of FTP commands to execute on the server prior to the FTP request. @@ -959,12 +959,12 @@ <row> <entry>Option</entry> <entry>Set <parameter>value</parameter> to</entry> - <entry>Changed</entry> + <entry>Notes</entry> </row> </thead> <tbody> <row> - <entry>CURLOPT_FILE</entry> + <entry><constant>CURLOPT_FILE</constant></entry> <entry> The file that the transfer should be written to. The default is <literal>STDOUT</literal> (the browser window). @@ -973,7 +973,7 @@ </entry> </row> <row> - <entry>CURLOPT_INFILE</entry> + <entry><constant>CURLOPT_INFILE</constant></entry> <entry> The file that the transfer should be read from when uploading. </entry> @@ -981,7 +981,7 @@ </entry> </row> <row> - <entry>CURLOPT_STDERR</entry> + <entry><constant>CURLOPT_STDERR</constant></entry> <entry> An alternative location to output errors to instead of <literal>STDERR</literal>. @@ -990,7 +990,7 @@ </entry> </row> <row> - <entry>CURLOPT_WRITEHEADER</entry> + <entry><constant>CURLOPT_WRITEHEADER</constant></entry> <entry> The file that the header part of the transfer is written to. </entry> @@ -1011,12 +1011,12 @@ <row> <entry>Option</entry> <entry>Set <parameter>value</parameter> to</entry> - <entry>Changed</entry> + <entry>Notes</entry> </row> </thead> <tbody> <row> - <entry>CURLOPT_HEADERFUNCTION</entry> + <entry><constant>CURLOPT_HEADERFUNCTION</constant></entry> <entry> The name of a callback function where the callback function takes two parameters. The first is the CURL resource, the second is a @@ -1028,7 +1028,7 @@ </entry> </row> <row> - <entry>CURLOPT_PASSWDFUNCTION</entry> + <entry><constant>CURLOPT_PASSWDFUNCTION</constant></entry> <entry> The name of a callback function where the callback function takes three parameters. The first is the CURL resource, the second is a @@ -1039,7 +1039,7 @@ </entry> </row> <row> - <entry>CURLOPT_READFUNCTION</entry> + <entry><constant>CURLOPT_READFUNCTION</constant></entry> <entry> The name of a callback function where the callback function takes two parameters. The first is the CURL resource, and the second is a @@ -1051,7 +1051,7 @@ </entry> </row> <row> - <entry>CURLOPT_WRITEFUNCTION</entry> + <entry><constant>CURLOPT_WRITEFUNCTION</constant></entry> <entry> The name of a callback function where the callback function takes two parameters. The first is the CURL resource, and the second is a