cvs: phpdoc /en/functions curl.xml

From: Date: Sun, 06 Jan 2002 18:38:49 +0000
Subject: cvs: phpdoc /en/functions curl.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969340822@lists.php.net to get a copy of this message
sterling Sun Jan 6 13:38:49 2002 EDT Modified files: /phpdoc/en/functions curl.xml Log: Add some more documentation of constants (incremental update, more docs to come). Index: phpdoc/en/functions/curl.xml diff -u phpdoc/en/functions/curl.xml:1.22 phpdoc/en/functions/curl.xml:1.23 --- phpdoc/en/functions/curl.xml:1.22 Thu Jan 3 16:50:06 2002 +++ phpdoc/en/functions/curl.xml Sun Jan 6 13:38:48 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.22 $ --> +<!-- $Revision: 1.23 $ --> <reference id="ref.curl"> <title>CURL, Client URL Library Functions</title> <titleabbrev>CURL</titleabbrev> @@ -304,6 +304,15 @@ </listitem> <listitem> <simpara> + <parameter>CURLOPT_SSL_VERIFYHOST</parameter>: Pass a long if + cURL should verify the Common name of the peer certificate in the + SSL handshake. A value of 1 denotes that we should check for the + existence of the common name, a value of 2 denotes that we should + make sure it matches the provided hostname. + </simpara> + </listitem> + <listitem> + <simpara> <parameter>CURLOPT_TIMECONDITION</parameter>: Pass a long as a parameter that defines how the CURLOPT_TIMEVALUE is treated. You can set this parameter to TIMECOND_IFMODSINCE or @@ -318,6 +327,13 @@ option, or by default the TIMECOND_IFMODSINCE will be used. </simpara> </listitem> + <listitem> + <simpara> + <parameter>CURLOPT_RETURNTRANSFER</parameter>: Pass a non-zero + value if you want cURL to directly return the transfer instead + of printing it out directly. + </simpara> + </listitem> </itemizedlist> </para> <para> @@ -425,6 +441,49 @@ command first. </simpara> </note> + </para> + </listitem> + <listitem> + <para> + <parameter>CURLOPT_PROXY</parameter>: Give the name of the HTTP + proxy to tunnel requests through. + </para> + </listitem> + <listitem> + <para> + <parameter>CURLOPT_INTERFACE</parameter>: Pass the name of the + outgoing network interface to use. This can be an interface name, + an IP address or a host name. + </para> + </listitem> + <listitem> + <para> + <parameter>CURLOPT_KRB4LEVEL</parameter>: Pass the KRB4 (Kerberos + 4) security level. This anyone of the following strings (in + order from least powerful, to most powerful): 'clear', 'safe', + 'confidential', 'private'. If the string does not match one of + these, then 'private' is used. If you set this to NULL, + this disables KB4 security. KB4 security only works with FTP + transactions currently. + </para> + </listitem> + <listitem> + <para> + <parameter>CURLOPT_HTTPHEADER</parameter>: Pass an array of HTTP + header fields to set. + </para> + </listitem> + <listitem> + <para> + <parameter>CURLOPT_QUOTE</parameter>: Pass an array of FTP commands + to perform on the server prior to the FTP request. + </para> + </listitem> + <listitem> + <para> + <parameter>CURLOPT_POSTQUOTE</parameter>: Pass an array of FTP + commands to execute on the server, after the FTP request has been + performed. </para> </listitem> </itemizedlist>

« previous php.doc (#969340822) next »