philip Fri Dec 27 11:49:25 2002 EDT
Modified files:
/phpdoc/en/appendices wrappers.xml
Log:
Revert sk invasion.
Index: phpdoc/en/appendices/wrappers.xml
diff -u phpdoc/en/appendices/wrappers.xml:1.9 phpdoc/en/appendices/wrappers.xml:1.10
--- phpdoc/en/appendices/wrappers.xml:1.9 Thu Dec 26 20:40:20 2002
+++ phpdoc/en/appendices/wrappers.xml Fri Dec 27 11:49:25 2002
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.8 Maintainer: joseph Status: ready -->
+<!-- $Revision: 1.10 $ -->
<appendix id="wrappers">
- <title>Zoznam Podporovan�ch Protokolov/Bal��kov</title>
+ <title>List of Supported Protocols/Wrappers</title>
<para>
- N�sleduj�ce je zoznam r�znych �t�lov�ch protokolov URL, ktor�
- m� PHP vstavan� pre pou�itie s filesystem funkciami ako s�
- <function>fopen</function> a <function>copy</function>.
- Okrem t�chto bal��kov (wrappers), ako aj t�ch v PHP 4.3, si
- m��te nap�sa� svoje vlastn� bal��ky s pou�it�m PHP skriptu a
+ The following is a list of the various URL style protocols that
+ PHP has built-in for use with the filesystem functions such as
+ <function>fopen</function> and <function>copy</function>.
+ In addition to these wrappers, as of PHP 4.3, you can write
+ your own wrappers using PHP script and
<function>stream_register_wrapper</function>.
</para>
<section id="wrappers.http">
- <title>HTTP a HTTPS</title>
- <simpara>PHP 3, PHP 4. <filename>https://</filename> od PHP 4.3</simpara>
+ <title>HTTP and HTTPS</title>
+ <simpara>PHP 3, PHP 4. <filename>https://</filename> since PHP 4.3</simpara>
<itemizedlist>
<listitem><simpara><filename>http://example.com</filename></simpara></listitem>
@@ -22,38 +22,39 @@
<listitem><simpara><filename>https://user:[EMAIL PROTECTED]</filename></simpara></listitem>
</itemizedlist>
- <simpara>Umo��uje pr�stup iba na ��tanie k s�borom/zdrojom cez HTTP 1.0
- pou�it�m met�dy HTTP GET. Hlavi�ka <literal>Host:</literal> sa po�le
- s po�iadavkou na zaistenie na mene zalo�en�ch virtu�lnych hostov. Ak
- ste nakonfigurovali re�azec <link linkend="ini.user-agent">user_agent</link>
- pou�it�m v�ho ini s�boru alebo pr�dov�ho kontextu, taktie� sa zahrnie
- do po�iadavky.
- </simpara>
- <simpara>
- Uz PHP 4.0.5 podporuje presmerovania; ak pou��vate predch�dzaj�ce
- verzie, budete musie� zahrn�� vle�n� lom�tka do svojich URL adries.
- </simpara>
- <simpara>
- Pr�d umo��uje pr�stup k <emphasis>telu</emphasis>
- zdroja; hlavi�ky s� ulo�en� v premennej
- <varname>$http_response_header</varname>.
- Od PHP 4.3, hlavi�ky s� dostupn� pou�it�m
+ <simpara>Allows read-only access to files/resources via HTTP 1.0,
+ using the HTTP GET method. A <literal>Host:</literal> header is sent with the
+request
+ to handle name-based virtual hosts. If you have configured
+ a <link linkend="ini.user-agent">user_agent</link> string using
+ your ini file or the stream context, it will also be included
+ in the request.
+ </simpara>
+ <simpara>
+ Redirects have been supported since PHP 4.0.5; if you are using
+ an earlier version you will need to include trailing slashes in
+ your URLs.
+ </simpara>
+ <simpara>
+ The stream allows access to the <emphasis>body</emphasis> of
+ the resource; the headers are stored in the
+ <varname>$http_response_header</varname> variable.
+ Since PHP 4.3, the headers are available using
<function>stream_get_meta_data</function>.
</simpara>
<simpara>
- Pripojenia cez HTTP s� iba na ��tanie; nem��ete zapisova� d�ta
- alebo kop�rova� s�bory do HTTP zdroja.
+ HTTP connections are read-only; you cannot write data or copy
+ files to an HTTP resource.
</simpara>
<note>
- <simpara>HTTPS podporovalo u� PHP 4.3, ak ste
- kompilovali s podporou pre OpenSSL.
+ <simpara>HTTPS is supported starting from PHP 4.3, if you
+ have compiled in support for OpenSSL.
</simpara>
</note>
</section>
<section id="wrappers.ftp">
- <title>FTP a FTPS</title>
- <simpara>PHP 3, PHP 4. <filename>ftps://</filename> od PHP 4.3</simpara>
+ <title>FTP and FTPS</title>
+ <simpara>PHP 3, PHP 4. <filename>ftps://</filename> since PHP 4.3</simpara>
<itemizedlist>
<listitem><simpara><filename>ftp://example.com/pub/file.txt</filename></simpara></listitem>
@@ -63,37 +64,37 @@
</itemizedlist>
<simpara>
- Umo��uje pr�stup na ��tanie k existuj�cim s�borom a tvorbu
- nov�ch cez FTP. Ak server nepodporuje pas�vny m�d ftp, spojenie
- zlyh�.
- </simpara>
- <simpara>
- M��te otv�ra� s�bory bu� na ��tanie alebo z�pis, ale nie oboje
- z�rove�. Ak u� vzdialen� s�bor existuje na ftp serveri
- a pok��ate sa ho otvori� na zapisovanie, spojenie zlyh�. Ak
- potrebujete obnovi� existuj�ci s�bor cez ftp, pou�ite
- <function>ftp_connect</function>.
- </simpara>
- <simpara>
- <filename>ftps://</filename> bol predstaven� v PHP 4.3.
- Je to rovnak� ako s <filename>ftp://</filename>,
- ale pok��a sa vyh�ada� bezpe�n� spojenie s ftp serverom. Ak server
- nepodporuje SSL, potom sa spojenie navr�ti k regul�rnemu
- kryptovan�mu ftp.
+ Allows read access to existing files and creation of new files
+ via FTP. If the server does not support passive mode ftp, the
+ connection will fail.
+ </simpara>
+ <simpara>
+ You can open files for either reading or writing, but not both
+ simultaneously. If the remote file already exists on the ftp
+ server and you attempt to open it for writing, the connection
+ will fail. If you need to update existing files over ftp,
+ use <function>ftp_connect</function>.
+ </simpara>
+ <simpara>
+ <filename>ftps://</filename> was introduced in PHP 4.3.
+ It is the same as <filename>ftp://</filename>,
+ but attempts to negotiate a secure connection with the ftp server.
+ If the server does not support SSL, then the connection falls back
+ to regular unencrypted ftp.
</simpara>
<note>
- <simpara>FTPS podporovalo u� PHP 4.3, ak ste
- kompilovali s podporou pre OpenSSL.
+ <simpara>FTPS is supported starting from PHP 4.3, if you
+ have compiled in support for OpenSSL.
</simpara>
</note>
</section>
<section id="wrappers.php">
- <title>Vstupn�/V�stupn� pr�dy PHP</title>
+ <title>PHP input/output streams</title>
<simpara>
- PHP 3.0.13 a vy��ie, <filename>php://output</filename>
- a <filename>php://input</filename> po��naj�c PHP 4.3
+ PHP 3.0.13 and up, <filename>php://output</filename>
+ and <filename>php://input</filename> since PHP 4.3
</simpara>
<itemizedlist>
@@ -106,33 +107,33 @@
<simpara>
<filename>php://stdin</filename>, <filename>php://stdout</filename>
- a <filename>php://stderr</filename> umo��uj� pr�stup ku
- kore�ponduj�cemu vstupn�mu alebo v�stupn�mu pr�du PHP procesu.
+ and <filename>php://stderr</filename> allow access to
+ the corresponding input or output stream of the PHP process.
</simpara>
<simpara>
- <filename>php://output</filename> umo��uje z�pis do v�stupn�ho
- mechanizmu z�sobn�ka rovnak�m sp�sobom ako
- <function>print</function> a <function>echo</function>.
+ <filename>php://output</filename> allows you to write to the
+ output buffer mechanism in the same way as
+ <function>print</function> and <function>echo</function>.
</simpara>
<simpara>
- <filename>php://input</filename> umo��uje ��tanie prvotn� POST d�ta.
- Je to menej pam� za�a�uj�ca alternat�va k
- <varname>$HTTP_RAW_POST_DATA</varname> a nepotrebuje �iadne
- �peci�lne &php.ini; direkt�vy.
+ <filename>php://input</filename> allows you to read raw POST data.
+ It is a less memory intensive alternative to
+ <varname>$HTTP_RAW_POST_DATA</varname> and does not need any
+ special &php.ini; directives.
</simpara>
<simpara>
- <filename>php://stdin</filename> a
- <filename>php://input</filename> s� iba na ��tanie, zatia��o
+ <filename>php://stdin</filename> and
+ <filename>php://input</filename> are read-only, whereas
<filename>php://stdout</filename>,
- <filename>php://stderr</filename> a
- <filename>php://output</filename> s� iba na z�pis.
+ <filename>php://stderr</filename> and
+ <filename>php://output</filename> are write-only.
</simpara>
</section>
<section id="wrappers.compression">
- <title>Pr�dy Kompresie</title>
- <simpara><filename>zlib:</filename> PHP 4.0.4 - PHP 4.2.3 (iba syst�my s
fopencookie)</simpara>
- <simpara><filename>compress.zlib://</filename> a
<filename>compress.bzip2://</filename> PHP 4.3 a vy��ie</simpara>
+ <title>Compression Streams</title>
+ <simpara><filename>zlib:</filename> PHP 4.0.4 - PHP 4.2.3 (systems with fopencookie
+only)</simpara>
+ <simpara><filename>compress.zlib://</filename> and
+<filename>compress.bzip2://</filename> PHP 4.3 and up</simpara>
<itemizedlist>
<listitem><simpara><filename>zlib:</filename></simpara></listitem>
@@ -141,18 +142,18 @@
</itemizedlist>
<simpara>
- <filename>zlib:</filename> pracuje ako <function>gzopen</function>, a� na to, �e
- pr�d sa d� pou�i� s <function>fread</function> a in�mi
- filesystem funkciami. Nie je to schva�ovan� ako to nie je aj v PHP 4.3
- kv�li nejednozna�nosti s n�zvami s�borov obsahuj�cich znaky ':'; rad�ej
- pou��vajte <filename>compress.zlib://</filename>.
+ <filename>zlib:</filename> works like <function>gzopen</function>, except that the
+ stream can be used with <function>fread</function> and the other
+ filesystem functions. This is deprecated as of PHP 4.3 due
+ to ambiguities with filenames containing ':' characters; use
+ <filename>compress.zlib://</filename> instead.
</simpara>
<simpara>
- <filename>compress.zlib://</filename> a
- <filename>compress.bzip2://</filename> s� ekvivalentn� k
- <function>gzopen</function> a <function>bzopen</function>
- jednotlivo a funguj� dokonca aj na syst�moch, ktor� nepodporuj�
+ <filename>compress.zlib://</filename> and
+ <filename>compress.bzip2://</filename> are equivalent to
+ <function>gzopen</function> and <function>bzopen</function>
+ respectively, and operate even on systems that do not support
fopencookie.
</simpara>
</section>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php