matroz Tue Mar 26 03:11:05 2002 EDT
Modified files:
/phpdoc/he/functions curl.xml
Log:
fully translated
Index: phpdoc/he/functions/curl.xml
diff -u phpdoc/he/functions/curl.xml:1.3 phpdoc/he/functions/curl.xml:1.4
--- phpdoc/he/functions/curl.xml:1.3 Fri Mar 8 18:13:57 2002
+++ phpdoc/he/functions/curl.xml Tue Mar 26 03:11:04 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.3 Maintainer: matty Status: working -->
+<!-- EN-Revision: 1.29 Maintainer: matroz Status: done -->
<reference id="ref.curl">
<title>CURL, Client URL Library Functions</title>
<titleabbrev>CURL</titleabbrev>
@@ -201,297 +201,283 @@
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_FTPAPPEND</parameter>: Set this option to a
- non-zero value and PHP will append to the remote file instead
- of overwriting it.
+ <parameter>CURLOPT_FTPAPPEND</parameter>: ��� �� ���� ���� �����
+ ���� �� ������ � PHP ����� �� ���� ����� ����� �����
+ ����� �������.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_NETRC</parameter>: Set this option to a
- non-zero value and PHP will scan your ~./netrc file to find
- your username and password for the remote site that you're
- establishing a connection with.
+ <parameter>CURLOPT_NETRC</parameter>: ��� �� ���� ���� �����
+ ���� �� ������ � PHP ����� �� ���� ~./netrc ��� ����� ��
+ �� ������ ������� ���� ���� ������ ���� �����
+ ������ ��������.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_FOLLOWLOCATION</parameter>: Set this option
- to a non-zero value to follow any "Location: " header that the
- server sends as a part of the HTTP header (note this is
- recursive, PHP will follow as many "Location: " headers that
- it is sent.)
+ <parameter>CURLOPT_FOLLOWLOCATION</parameter>: ��� �� ���� ���� �����
+ ���� �� ������ ����� ��� �� "Location: " header �����
+ ���� ���� �� HTTP header
+ (����� ���� ��������, � PHP ����� ��� �� "Location: " headers ������.).
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_PUT</parameter>: Set this option a non-zero
- value to HTTP PUT a file. The file to PUT must be set with
- the CURLOPT_INFILE and CURLOPT_INFILESIZE.
+ <parameter>CURLOPT_PUT</parameter>: ��� �� ���� ���� �����
+ ���� ��� ���� HTTP PUT �����. ����� ������ � PUT ���� �����
+ ��� ��� ����� � CURLOPT_INFILE � CURLOPT_INFILESIZE.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_MUTE</parameter>: Set this option to a
- non-zero value and PHP will be completely silent with regards
- to the CURL functions.
+ <parameter>CURLOPT_MUTE</parameter>: ��� �� ���� ���� �����
+ ���� ��� � PHP ���� ���� ����� ���� �������� CURL.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_TIMEOUT</parameter>: Pass a long as a
- parameter that contains the maximum time, in seconds, that
- you'll allow the curl functions to take.
+ <parameter>CURLOPT_TIMEOUT</parameter>: ���� ��� ���� long
+ ������ ����� �� ���� ��������, ������, �����
+ ���� ��������� curl ������.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_LOW_SPEED_LIMIT</parameter>: Pass a long as
- a parameter that contains the transfer speed in bytes per
- second that the transfer should be below during
- CURLOPT_LOW_SPEED_TIME seconds for PHP to consider it too slow
- and abort.
+ <parameter>CURLOPT_LOW_SPEED_LIMIT</parameter>: ���� ��� ���� long
+ ������ ����� �� ������ ������ ����� �����
+ ������� ������ ����� ����� ���� CURLOPT_LOW_SPEED_TIME �����
+ �� ��� � PHP ����� ������� ������ ��� ����� �� ������.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_LOW_SPEED_TIME</parameter>: Pass a long as
- a parameter that contains the time in seconds that the
- transfer should be below the CURLOPT_LOW_SPEED_LIMIT for PHP
- to consider it too slow and abort.
+ <parameter>CURLOPT_LOW_SPEED_TIME</parameter>: ���� ��� ���� long
+ ������ ����� �� ���� ������ ������� ����� �����
+ ���� � CURLOPT_LOW_SPEED_LIMIT ��� � PHP
+ ����� ������ ������ ��� ����� �� ������.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_RESUME_FROM</parameter>: Pass a long as a
- parameter that contains the offset, in bytes, that you want
- the transfer to start from.
+ <parameter>CURLOPT_RESUME_FROM</parameter>: ���� ��� ���� long
+ ������ ����� �� � offset, �����, ������� ����� ����.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_SSLVERSION</parameter>: Pass a long as a
- parameter that contains the SSL version (2 or 3) to use. By
- default PHP will try and determine this by itself, although,
- in some cases you must set this manually.
+ <parameter>CURLOPT_SSLVERSION</parameter>: ���� ��� ���� long
+ ������ ����� �� ����� � SSL(2 or 3) ������.
+ ������ ���� PHP ���� ����� ���� �� �����, ��
+ ������ ������� �� ����� ��� �� �����.
</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.
+ <parameter>CURLOPT_SSL_VERIFYHOST</parameter>: ���� ��� ���� long
+ �� cURL ����� ����� �� � peer certificate ����� ������ ��
+ SSL handshake. ���� 1 ���� ��� ����� �� ������� ��
+ common name, ���� 2 ���� ��� ����� �� ��� ��� ��� �����
+ �����.
</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
- TIMECOND_ISUNMODSINCE. This is a HTTP-only feature.
+ <parameter>CURLOPT_TIMECONDITION</parameter>: ���� ��� ���� long
+ ������ ����� ���� �� ������ � CURLOPT_TIMEVALUE.
+ ���� ����� �� ���� � TIMECOND_IFMODSINCE �� �
+ TIMECOND_ISUNMODSINCE. ��� HTTP-only feature.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_TIMEVALUE</parameter>: Pass a long as a
- parameter that is the time in seconds since January 1st, 1970.
- The time will be used as specified by the CURLOPT_TIMEVALUE
- option, or by default the TIMECOND_IFMODSINCE will be used.
+ <parameter>CURLOPT_TIMEVALUE</parameter>: ���� ��� ���� long
+ ������ ���� ���� ������ ��� January 1st, 1970.
+ ���� ���� �� ���� ��� ������ ������� CURLOPT_TIMEVALUE
+ , �� �� �� ����� ����� TIMECOND_IFMODSINCE.
</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.
+ <parameter>CURLOPT_RETURNTRANSFER</parameter>: ���� ��� ����� ����
+ �� �� cURL ������ �� ����� ������ ����� ����
+ ����� �� �����.
</simpara>
</listitem>
</itemizedlist>
</para>
<para>
- The <parameter>value</parameter> parameter should be a string for
- the following values of the <parameter>option</parameter>
- parameter:
+ ������ <parameter>value</parameter> ���� ����� ���� string
+ ����� ������ ����� �� ������ <parameter>option</parameter> :
<itemizedlist>
<listitem>
<simpara>
- <parameter>CURLOPT_URL</parameter>: This is the URL that you
- want PHP to fetch. You can also set this option when
- initializing a session with the <function>curl_init</function>
- function.
+ <parameter>CURLOPT_URL</parameter>: ��� � URL �������
+ � PHP ����. ���� ����� �� ���� �� ���� �����
+ session �� �������� <function>curl_init</function> .
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_USERPWD</parameter>: Pass a string
- formatted in the [username]:[password] manner, for PHP to use
- for the connection. connection.
+ <parameter>CURLOPT_USERPWD</parameter>: ���� ��� ���� string
+ ������ [username]:[password] , ��� � PHP �����
+ �� ���� ��������.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_PROXYUSERPWD</parameter>: Pass a string
- formatted in the [username]:[password] format for connection
- to the HTTP proxy.
+ <parameter>CURLOPT_PROXYUSERPWD</parameter>: ���� ��� ���� string
+ ������ [username]:[password] , �������� � HTTP proxy.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_RANGE</parameter>: Pass the specified range
- you want. It should be in the "X-Y" format, where X or Y may
- be left out. The HTTP transfers also support several
- intervals, separated with commas as in X-Y,N-M.
+ <parameter>CURLOPT_RANGE</parameter>: ���� �� ����� ������.
+ ������ ���� ����� "X-Y" , ���� X �� Y ������ �����
+ �����. ����� HTTP ����� �� ����� ���� ���,
+ ������� ����� ���� : X-Y,N-M.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_POSTFIELDS</parameter>: Pass a string
- containing the full data to post in an HTTP "POST" operation.
+ <parameter>CURLOPT_POSTFIELDS</parameter>: ���� ��� ���� string
+ ����� �� ���� ����� ��� ����� ������ HTTP "POST" .
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_REFERER</parameter>: Pass a string
- containing the "referer" header to be used in an HTTP request.
+ <parameter>CURLOPT_REFERER</parameter>: ���� ��� ���� string
+ ����� �� � "referer" header ������ � HTTP request.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_USERAGENT</parameter>: Pass a string
- containing the "user-agent" header to be used in an HTTP
- request.
+ <parameter>CURLOPT_USERAGENT</parameter>: ���� ��� ���� string
+ ����� �� � "user-agent" header ������ � HTTP request.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_FTPPORT</parameter>: Pass a string
- containing the which will be used to get the IP address to use
- for the ftp "POST" instruction. The POST instruction tells
- the remote server to connect to our specified IP address. The
- string may be a plain IP address, a hostname, a network
- interface name (under UNIX), or just a plain '-' to use the
- systems default IP address.
+ <parameter>CURLOPT_FTPPORT</parameter>: ���� ��� ���� string
+ ������ ���� �� ����� �� ����� � IP ����� �� � ftp ���� "POST".
+ ������ POST ������ ���� ������ ������ ������ � IP �������.
+ ���� ���� ����� ����� IP �����, �� ���� ����, a network
+ interface name (under UNIX), �� '-' ��� ����� �� ����� � IP
+ ���� ����� ����� �� ������.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_COOKIE</parameter>: Pass a string
- containing the content of the cookie to be set in the HTTP
- header.
+ <parameter>CURLOPT_COOKIE</parameter>: ���� ��� ���� string
+ ����� �� ���� � cookie ����� � HTTP header.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_SSLCERT</parameter>: Pass a string
- containing the filename of PEM formatted certificate.
+ <parameter>CURLOPT_SSLCERT</parameter>: ���� ��� ���� string
+ ����� �� �� ���� � PEM formatted certificate.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_SSLCERTPASSWD</parameter>: Pass a string
- containing the password required to use the CURLOPT_SSLCERT
- certificate.
+ <parameter>CURLOPT_SSLCERTPASSWD</parameter>: ���� ��� ���� string
+ ����� �� ������ ������ ��� ������ � CURLOPT_SSLCERT certificate.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_COOKIEFILE</parameter>: Pass a string
- containing 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 a file.
+ <parameter>CURLOPT_COOKIEFILE</parameter>: ���� ��� ���� string
+ ����� �� �� ����� ����� �� ���� � cookie.
+ ���� � cookie ���� ����� ������ Netscape� �� � HTTP-style headers
+ ������ ������ �����.
</simpara>
</listitem>
<listitem>
<para>
- <parameter>CURLOPT_CUSTOMREQUEST</parameter>: Pass a string to
- be used instead of <literal>GET</literal> or
- <literal>HEAD</literal> when doing an HTTP request. This is
- useful for doing <literal>DELETE</literal> or other, more
- obscure, HTTP requests. Valid values are things like
- <literal>GET</literal>, <literal>POST</literal>, and so on;
- i.e. do not enter a whole HTTP request line here. For instance,
- entering 'GET /index.html HTTP/1.0\r\n\r\n' would be incorrect.
+ <parameter>CURLOPT_CUSTOMREQUEST</parameter>: ���� ��� ���� string
+ ������ ����� <literal>GET</literal> ��
+ <literal>HEAD</literal> ���� ������ ����� HTTP request.
+ ������ �� ������� ���� ������ <literal>DELETE</literal> �� �� �����
+����
+ ���� HTTP request . ����� ������� �� ����� ����
+ <literal>GET</literal>, <literal>POST</literal>, ��� ����;
+ ��� ��: ��� ������ ���� HTTP request ���� ���.
+ ������, ����� 'GET /index.html HTTP/1.0\r\n\r\n' ���� �� �����.
<note>
<simpara>
- Don't do this without making sure your server supports the
- command first.
+ ��� ���� ����� �� ���� �������� �� ���� ��� ���� ������.
</simpara>
</note>
</para>
</listitem>
<listitem>
<para>
- <parameter>CURLOPT_PROXY</parameter>: Give the name of the HTTP
- proxy to tunnel requests through.
+ <parameter>CURLOPT_PROXY</parameter>: ���� �� �� � HTTP
+ proxy ������� ������ ����.
</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.
+ <parameter>CURLOPT_INTERFACE</parameter>: ���� �� ��
+ � network interface ����� ��� ������ ��.
+ ���� ���� ����� �� interface ,����� IP �� �� ���� ����.
</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.
+ <parameter>CURLOPT_KRB4LEVEL</parameter>: ���� �� ��� ������
+ KRB4 (Kerberos 4). ���� ���� ����� �� ��� ������� �����
+ (������ ���� ���������, ����� �������): 'clear', 'safe',
+ 'confidential', 'private'. �� ���� ���� ���� �� ��� ������� �����
+ , ��� 'private' ���� ������. �� ���� ���� � NULL,
+ ����� KB4 ���� �������. ����� KB4 ����� ���� �� �� ������ FTP .
</para>
</listitem>
<listitem>
<para>
- <parameter>CURLOPT_HTTPHEADER</parameter>: Pass an array of HTTP
- header fields to set.
+ <parameter>CURLOPT_HTTPHEADER</parameter>: ���� ���� ������
+ � HTTP header ����� ������ �����.
</para>
</listitem>
<listitem>
<para>
- <parameter>CURLOPT_QUOTE</parameter>: Pass an array of FTP commands
- to perform on the server prior to the FTP request.
+ <parameter>CURLOPT_QUOTE</parameter>: ���� ���� �� ������ FTP
+ ��� ��� �� ���� ������ ���� ����� ���� � FTP.
</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.
+ <parameter>CURLOPT_POSTQUOTE</parameter>: ���� ���� �� ������ FTP
+ ��� ��� �� ���� ������ ���� ����� ���� � FTP.
</para>
</listitem>
</itemizedlist>
</para>
<para>
- The following options expect a file descriptor that is obtained
- by using the <function>fopen</function> function:
+ ��������� ����� ����� � file descriptor ����� ��� �����
+ ��������� <function>fopen</function> :
<itemizedlist>
<listitem>
<simpara>
- <parameter>CURLOPT_FILE</parameter>: The file where the output
- of your transfer should be placed, the default is STDOUT.
+ <parameter>CURLOPT_FILE</parameter>: ����� ���� ����
+ �� ������ �����, ����� ����� ��� STDOUT.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_INFILE</parameter>: The file where the
- input of your transfer comes from.
+ <parameter>CURLOPT_INFILE</parameter>: ����� ���� ����
+ �� ������ ����.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_WRITEHEADER</parameter>: The file to write
- the header part of the output into.
+ <parameter>CURLOPT_WRITEHEADER</parameter>: ����� ���� �� �����
+ �� ��� � header �� ����.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_STDERR</parameter>: The file to write
- errors to instead of stderr.
+ <parameter>CURLOPT_STDERR</parameter>: ����� ���� �� �����
+ �� ������� ����� stderr.
</simpara>
</listitem>
</itemizedlist>
@@ -502,18 +488,17 @@
<refentry id="function.curl-exec">
<refnamediv>
<refname>curl_exec</refname>
- <refpurpose>Perform a CURL session</refpurpose>
+ <refpurpose>����� CURL session</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>�����</title>
<methodsynopsis>
<type>bool</type><methodname>curl_exec</methodname>
<methodparam><type>int</type><parameter>ch</parameter></methodparam>
</methodsynopsis>
<para>
- This function is should be called after you initialize a CURL
- session and all the options for the session are set. Its purpose
- is simply to execute the predefined CURL session (given by the
+ �� ����� �������� �� ���� ������ CURL session ��� ��������� ���
+ �����. ����� ��� ���� �� � CURL session ����� ���� (������ �� ���
<parameter>ch</parameter>).
</para>
&tip.ob-capture;
@@ -523,17 +508,17 @@
<refentry id="function.curl-close">
<refnamediv>
<refname>curl_close</refname>
- <refpurpose>Close a CURL session</refpurpose>
+ <refpurpose>����� CURL session</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>�����</title>
<methodsynopsis>
<type>void</type><methodname>curl_close</methodname>
<methodparam><type>int</type><parameter>ch</parameter></methodparam>
</methodsynopsis>
<para>
- This function closes a CURL session and frees all resources.
- The CURL handle, <parameter>ch</parameter>, is also deleted.
+ �������� ����� CURL session ������� �� �� �������.
+ � CURL handle, <parameter>ch</parameter>, ���� �� ���.
</para>
</refsect1>
</refentry>
@@ -541,17 +526,17 @@
<refentry id="function.curl-version">
<refnamediv>
<refname>curl_version</refname>
- <refpurpose>Return the current CURL version</refpurpose>
+ <refpurpose>������ �� ����� � CURL �������</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>�����</title>
<methodsynopsis>
<type>string</type><methodname>curl_version</methodname>
<void/>
</methodsynopsis>
<para>
- The <function>curl_version</function> function returns a string
- containing the current CURL version.
+ �������� <function>curl_version</function> ������ ��� ���� string
+ ����� �� ����� CURL �������.
</para>
</refsect1>
</refentry>
@@ -559,10 +544,10 @@
<refentry id='function.curl-errno'>
<refnamediv>
<refname>curl_errno</refname>
- <refpurpose>Return an integer containing the last error number</refpurpose>
+ <refpurpose>������ ���� ���� integer ����� �� ���� � error ������</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>�����</title>
<methodsynopsis>
<type>int</type><methodname>curl_errno</methodname>
<methodparam><type>int</type><parameter>ch</parameter></methodparam>
@@ -577,11 +562,11 @@
<refnamediv>
<refname>curl_error</refname>
<refpurpose>
- Return a string contain the last error for the current session
- </refpurpose>
+ ������ ��� ���� string ����� �� � error ������ � session ������
+ </refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>�����</title>
<methodsynopsis>
<type>string</type><methodname>curl_error</methodname>
<methodparam><type>int</type><parameter>ch</parameter></methodparam>
@@ -596,11 +581,11 @@
<refnamediv>
<refname>curl_getinfo</refname>
<refpurpose>
- Get information regarding a specific transfer
+ ��� �� ����� �� ����� ������
</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>�����</title>
<methodsynopsis>
<type>string</type><methodname>curl_getinfo</methodname>
<methodparam><type>int</type><parameter>ch</parameter></methodparam>