cortesi Thu Mar 28 16:58:24 2002 EDT
Modified files:
/phpdoc/it/functions curl.xml
Log:
first full translation: fearing the tomorrows file-split
Index: phpdoc/it/functions/curl.xml
diff -u phpdoc/it/functions/curl.xml:1.5 phpdoc/it/functions/curl.xml:1.6
--- phpdoc/it/functions/curl.xml:1.5 Mon Mar 25 20:53:23 2002
+++ phpdoc/it/functions/curl.xml Thu Mar 28 16:58:24 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.28 Maintainer: cortesi Status: working -->
+<!-- EN-Revision: 1.33 Maintainer: cortesi Status: working -->
<!-- CREDITS: cucinato -->
<reference id="ref.curl">
<title>Funzioni CURL, Client URL Library</title>
@@ -49,8 +49,8 @@
<![CDATA[
<?php
-$ch = curl_init ("http://www.php.net/");
-$fp = fopen ("homepage_php.txt", "w");
+$ch = curl_init ("http://www.example.com/");
+$fp = fopen ("homepage_example.txt", "w");
curl_setopt ($ch, CURLOPT_FILE, $fp);
curl_setopt ($ch, CURLOPT_HEADER, 0);
@@ -87,14 +87,14 @@
<function>curl_setopt</function>.
<example>
<title>
- Inizializzare una nuova sessione CURL e scaricare una paginaweb
+ Inizializzare una nuova sessione CURL e scaricare una pagina web
</title>
<programlisting role="php">
<![CDATA[
<?php
$ch = curl_init();
-curl_setopt ($ch, CURLOPT_URL, "http://www.zend.com/");
+curl_setopt ($ch, CURLOPT_URL, "http://www.example.com/");
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_exec ($ch);
@@ -115,7 +115,7 @@
<refentry id="function.curl-setopt">
<refnamediv>
<refname>curl_setopt</refname>
- <refpurpose>Imposta una opzione per un trasferimento CURLr</refpurpose>
+ <refpurpose>Imposta una opzione per un trasferimento CURL</refpurpose>
</refnamediv>
<refsect1>
<title>Descrizione</title>
@@ -126,381 +126,381 @@
<methodparam><type>mixed</type><parameter>valore</parameter></methodparam>
</methodsynopsis>
<para>
- La funzione <function>curl_setopt</function> will set options
- for a CURL session identified by the <parameter>ch</parameter>
- parameter. The <parameter>opzione</parameter> parameter is the
- option you want to set, and the <parameter>valore</parameter> is
- the value of the option given by the
+ La funzione <function>curl_setopt</function> imposter� le opzioni
+ per una sessione CURL identificata dal parametro
+ <parameter>ch</parameter>. il parametro <parameter>opzione</parameter> �
+ l'opzione che si vuole impostare e <parameter>valore</parameter> � il
+ valore dell'opzione data da
<parameter>opzione</parameter>.
</para>
<para>
- The <parameter>value</parameter> should be a long for the
- following options (specified in the <parameter>option</parameter>
- parameter):
+ Il <parameter>valore</parameter> dovrebbe essere di tipo long per
+ le seguenti opzioni (specificato nel parametro
+ <parameter>opzione</parameter>):
<itemizedlist>
<listitem>
<simpara>
- <parameter>CURLOPT_INFILESIZE</parameter>: When you are
- uploading a file to a remote site, this option should be used
- to tell PHP what the expected size of the infile will be.
+ <parameter>CURLOPT_INFILESIZE</parameter>: Quando si carica
+ un file su un server remoto, questa opzione dovrebbe essere usata
+ per dire a PHP quale dimensione attendersi dal file in arrivo.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_VERBOSE</parameter>: Set this option to a
- non-zero value if you want CURL to report everything that is
- happening.
+ <parameter>CURLOPT_VERBOSE</parameter>: Impostare questa opzione a un valore
+ diverso da zero se si vuole che CURL to segnali tutto quello che sta
+ avvenendo.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_HEADER</parameter>: Set this option to a
- non-zero value if you want the header to be included in the
- output.
+ <parameter>CURLOPT_HEADER</parameter>: Impostare questa opzione a un valore
+ diverso da zero se si vuole che gli header vengano inclusi
+ nell'output.
</simpara>
</listitem>
<listitem>
<para>
- <parameter>CURLOPT_NOPROGRESS</parameter>: Set this option to
- a non-zero value if you don't want PHP to display a progress
- meter for CURL transfers
+ <parameter>CURLOPT_NOPROGRESS</parameter>: Impostare questa opzione a un
+valore
+ diverso da zero se non si vuole che PHP mostri l'indicazione di avanzamento
+ nei trasferimenti CURL.
<note>
<simpara>
- PHP automatically sets this option to a non-zero parameter,
- this should only be changed for debugging purposes.
+ PHP imposta automaticamente questa opzione a un valore non-zero,
+ esso dovrebbe essere cambiato solo per eseguire il debug.
</simpara>
</note>
</para>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_NOBODY</parameter>: Set this option to a
- non-zero value if you don't want the body included with the
- output.
+ <parameter>CURLOPT_NOBODY</parameter>: Impostare questa opzione a un valore
+ diverso da zero se non si desidera l'inclusione del body
+ nell'output.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_FAILONERROR</parameter>: Set this option to
- a non-zero value if you want PHP to fail silently if the HTTP
- code returned is greater than 300. The default behavior is
- to return the page normally, ignoring the code.
+ <parameter>CURLOPT_FAILONERROR</parameter>: Impostare questa opzione a un
+valore
+ diverso da zero se si vuole che PHP termini senza generare messaggi se il
+codice HTTP
+ restituito � maggiore di 300. Il comportamento di default �
+ di restituire la pagina comunque, ignorando la presenza del codice.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_UPLOAD</parameter>: Set this option to a
- non-zero value if you want PHP to prepare for an upload.
+ <parameter>CURLOPT_UPLOAD</parameter>: Impostare questa opzione a un valore
+ diverso da zero se si vuole che PHP si prepari per un upload.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_POST</parameter>: Set this option to a
- non-zero value if you want PHP to do a regular HTTP POST.
- This POST is a normal application/x-www-form-urlencoded kind,
- most commonly used by HTML forms.
+ <parameter>CURLOPT_POST</parameter>: Impostare questa opzione a un valore
+ diverso da zero se si vuole che PHP esegua un comune HTTP POST.
+ Questo POST � di tipo application/x-www-form-urlencoded,
+ molto spesso usato nei form HTML.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_FTPLISTONLY</parameter>: Set this option to
- a non-zero value and PHP will just list the names of an FTP
- directory.
+ <parameter>CURLOPT_FTPLISTONLY</parameter>: Impostare questa opzione a un
+valore
+ diverso da zero e PHP semplicemente elencher� i nomi in una directory
+ FTP.
</simpara>
</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>: Impostare questa opzione a un valore
+ diverso da zero e PHP accoder� l'output al file remoto invece di
+ sovrascrivere.
</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>: Impostare questa opzione a un valore
+ diverso da zero e PHP legger� il vostro file <filename>~./netrc</filename>
+ al fine di trovare username e password per il server remoto verso il quale
+ si sta eseguendo la connessione.
</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>: Impostare questa opzione a un
+valore
+ diverso da zero per seguire ogni header "Location: " che il server dovesse
+ inviare come parte degli header HTTP (si noti che questo
+ � ricorsivo, PHP seguir� tutti gli header "Location: " che dovessero essere
+ inviati.)
</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>: Impostare questa opzione a un valore
+ diverso da zero per eseguire un HTTP PUT su un file. Il file su cui eseguire
+PUT deve essere impostato
+ con CURLOPT_INFILE e 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>: Impostare questa opzione a un valore
+ diverso da zero e PHP rester� silenzioso riguardo alle
+ funzioni 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>: Passa un tipo di dato long come
+ parametro che contiene il tempo massimo, in secondi, che
+ si � disposti a concedere alle funzioni 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>: Passa un tipo di dato long
+come
+ parametro contenente la velocit� di trasferimento espressa in byte al
+ secondo, velocit� al di sotto della quale il trasferimento dovr� rimanere per
+ CURLOPT_LOW_SPEED_TIME secondi affinch� PHP lo consideri troppo lento
+ e lo termini.
</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>: Passa un tipo di dato long come
+ parametro che contiene il tempo in secondi che il trasferimento dovr�
+rimanere
+ al di sotto del valore CURLOPT_LOW_SPEED_LIMIT affinch� PHP lo consideri
+troppo
+ lento e lo termini.
</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>: Passa un tipo di dato long come
+ parametro che contiene l'offset, in byte, dal quale partire
+ per effettuare il trasferimento.
</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>: Passa un tipo di dato long come
+ parametro che contiene la versione SSL (2 o 3) da usare. Di
+ default PHP cercher� di determinare questo dato s�, ciononostante,
+ in alcuni casi andr� impostato manualmente.
</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>: Passa un tipo di dato long se
+ CURL deve verificare il common name del peer certificate durante
+ l'handshake SSL. Un valore di 1 denota che si deve cercare
+ l'esistenza del common name, un valore di 2 denota che dovremo assicurarci
+ che corrisponda all'hostname fornito.
</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>: Passa un tipo di dato long come
+ parametro che che definisce come trattare CURLOPT_TIMEVALUE.
+ Si pu� impostare questo parametro a TIMECOND_IFMODSINCE o
+ TIMECOND_ISUNMODSINCE. Questa � una caratteristica del solo HTTP.
</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>: Passa un tipo di dato long come
+ parametro che rappresenta il tempo espresso in secondi trascorsi dal 1
+Gennaio 1970.
+ Il tempo verr� usato come specificato dall'opzione CURLOPT_TIMEVALUE
+ o di default verr� usato 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>: Passa un valore diverso da zero
+ se si desidera che CURL restituisca direttamente il trasferimento invece
+ di stamparlo.
</simpara>
</listitem>
</itemizedlist>
</para>
<para>
- The <parameter>value</parameter> parameter should be a string for
- the following values of the <parameter>option</parameter>
- parameter:
+ il parametro <parameter>valole</parameter> deve essere una stringa per i
+ seguenti valori del parametro
+ <parameter>opzione</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>: Questo � l'URL che si desidera
+ far salvare da PHP. Si pu� anche impostare questa opzione quando si
+ inizializza una sessione con la funzione
+ <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>: Passa una stringa
+ formattata come [username]:[password], che sar� usata da PHP per
+ la connessione.
</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>: Passa una stringa
+ formattata come [username]:[password], per la connessione
+ al proxy HTTP.
</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>: Passa il range richiesto.
+ Deve essere nel formato "X-Y", dove X o Y possono
+ essere omessi. I trasferimenti HTTP supportano anche intervalli multipli,
+ separati da virgole come in 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>: Passa una stringa
+ contenente tutti i dati da inviare durante una richiesta 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>: Passa una stringa
+ contenente l'header "referer" che verr� usato in una richiesta HTTP.
</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>: Passa una stringa
+ contenente l'header "user-agent" che sar� usato nella richiesta
+ HTTP.
</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>: Passa una stringa
+ contenente il valore che verr� usato per ottenere l'indirizzo IP da
+ usarsi per l'istruzione "POST" dell'ftp. L'istruzione POST dice
+ al server remoto di collegarsi al nostro indirizzo IP specificato. La
+ stringa pu� essere un semplice indirizzo IP, un hostname, il nome di una
+ interfaccia di rete (sotto UNIX) o semplicemente un '-' per indicare di usare
+ l'indirizzo IP di default del sistema.
</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>: Passa una stringa
+ contenente il contenuto del cookie da impostare nell'header
+ HTTP.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_SSLCERT</parameter>: Pass a string
- containing the filename of PEM formatted certificate.
+ <parameter>CURLOPT_SSLCERT</parameter>: Passa una stringa
+ contenente il filename del certificato formattato secondo PEM.
</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>: Passa una stringa
+ contenente la password richiesta per usare il certificato
+ CURLOPT_SSLCERT.
</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>: Passa una stringa
+ contenente il nome del file contenente i dati relativi al cookie.
+ Il file del cookie pu� essere in formato Netscape o semplicemente
+ un dump degli header in stile HTTP.
</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>: Passa una stringa
+ da usare al posto di <literal>GET</literal> o
+ <literal>HEAD</literal> nell'effettuare una richiesta HTTP. Questo �
+ utile per effettuare un <literal>DELETE</literal> o altre, pi� oscure
+ richieste HTTP. Valori validi sono cose del tipo
+ <literal>GET</literal>, <literal>POST</literal> e cos� via;
+ per esempio non inserire qui una richiesta HTTP intera. Per esempio,
+ inserire 'GET /index.html HTTP/1.0\r\n\r\n' sarebbe sbagliato.
<note>
<simpara>
- Don't do this without making sure your server supports the
- command first.
+ Non eseguire se non si � sicuri che il proprio server supporti
+ il comando.
</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>: Indica il nome del server proxy HTTP
+ attraverso il quale inviare le richieste.
</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>: Passa il nome dell'interfaccia di
+ rete da usare in uscita. Questo pu� essere il nome di un'interfaccia,
+ un indirizzo IP o un nome di host.
</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>: Passa il security level
+ KRB4 (Kerberos 4). Ognuna delle seguenti stringhe (in
+ ordine dalla meno alla pi� potente): 'clear', 'safe',
+ 'confidential', 'private'. Se la stringa inviata non corrisponde a nessuna di
+ queste, verr� usata 'private'. Se si imposta a NULL,
+ la security KB4 verr� disabilitata. La security KB4, al momento, funziona
+solamente
+ con le transazioni FTP.
</para>
</listitem>
<listitem>
<para>
- <parameter>CURLOPT_HTTPHEADER</parameter>: Pass an array of HTTP
- header fields to set.
+ <parameter>CURLOPT_HTTPHEADER</parameter>: Passa un array di campi header
+ HTTP da impostare.
</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>: Passa un array di
+ comandi FTP da eseguire sul server, prima della richiesta 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>: Passa un array di
+ comandi FTP da eseguire sul server, dopo che la richiesta FTP � stata
+ eseguita.
</para>
</listitem>
</itemizedlist>
</para>
<para>
- The following options expect a file descriptor that is obtained
- by using the <function>fopen</function> function:
+ Le opzioni seguenti richiedono un descrittore a file che � ottenuto usando
+ la funzione <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>: Il file dove mettere l'output
+ del trasferimento, di default � STDOUT.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_INFILE</parameter>: The file where the
- input of your transfer comes from.
+ <parameter>CURLOPT_INFILE</parameter>: Il file da cui
+ proviene l'input del trasferimento.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_WRITEHEADER</parameter>: The file to write
- the header part of the output into.
+ <parameter>CURLOPT_WRITEHEADER</parameter>: Il file sul quale scrivere
+ la parte di output contenente gli header.
</simpara>
</listitem>
<listitem>
<simpara>
- <parameter>CURLOPT_STDERR</parameter>: The file to write
- errors to instead of stderr.
+ <parameter>CURLOPT_STDERR</parameter>: Il file sul quale scrivere gli
+ errori invece di stderr.
</simpara>
</listitem>
</itemizedlist>
@@ -511,7 +511,7 @@
<refentry id="function.curl-exec">
<refnamediv>
<refname>curl_exec</refname>
- <refpurpose>Perform a CURL session</refpurpose>
+ <refpurpose>Esegue una sessione CURL</refpurpose>
</refnamediv>
<refsect1>
<title>Descrizione</title>
@@ -520,9 +520,9 @@
<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
+ Questa funzione deve essere chiamata dopo aver inizializzato una
+ sessione CURL e dopo che tutte le opzioni per la sessione sono state impostate.
+La sua funzione
+ � semplicemente quella di eseguire la sessione CURL predefinita (identificata
+dal parametro
<parameter>ch</parameter>).
</para>
&tip.ob-capture;
@@ -541,8 +541,8 @@
<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.
+ Questa funzione chiude una sessione CURL e libera tutte le risorse.
+ L'handle CURL <parameter>ch</parameter> viene anch'esso eliminato.
</para>
</refsect1>
</refentry>