Add some more documentation of constants (incremental update, more docs

to come).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@67115 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sterling Hughes 2002-01-06 18:38:48 +00:00
parent 8fffc64e19
commit 4b809c7aeb

View file

@ -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>
@ -302,6 +302,15 @@ curl_close ($ch);
in some cases you must set this manually.
</simpara>
</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
@ -318,6 +327,13 @@ curl_close ($ch);
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>
@ -427,6 +443,49 @@ curl_close ($ch);
</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>
</para>
<para>